diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/bl31/context.h | 6 | ||||
| -rw-r--r-- | include/bl31/context_mgmt.h | 2 |
2 files changed, 1 insertions, 7 deletions
diff --git a/include/bl31/context.h b/include/bl31/context.h index 3bf49806..0dfebe0b 100644 --- a/include/bl31/context.h +++ b/include/bl31/context.h @@ -80,9 +80,7 @@ #define CTX_RUNTIME_SP 0x8 #define CTX_SPSR_EL3 0x10 #define CTX_ELR_EL3 0x18 -#define CTX_CPTR_EL3 0x20 -#define CTX_CNTFRQ_EL0 0x28 -#define CTX_EL3STATE_END 0x30 +#define CTX_EL3STATE_END 0x20 /******************************************************************************* * Constants that allow assembler code to access members of and the @@ -323,8 +321,6 @@ CASSERT(CTX_EL3STATE_OFFSET == __builtin_offsetof(cpu_context_t, el3state_ctx), /******************************************************************************* * Function prototypes ******************************************************************************/ -void el3_sysregs_context_save(el3_state_t *regs); -void el3_sysregs_context_restore(el3_state_t *regs); void el1_sysregs_context_save(el1_sys_regs_t *regs); void el1_sysregs_context_restore(el1_sys_regs_t *regs); #if CTX_INCLUDE_FPREGS diff --git a/include/bl31/context_mgmt.h b/include/bl31/context_mgmt.h index 6127b74b..6e82fb70 100644 --- a/include/bl31/context_mgmt.h +++ b/include/bl31/context_mgmt.h @@ -49,10 +49,8 @@ void cm_set_context_by_mpidr(uint64_t mpidr, void *context, uint32_t security_state); static inline void cm_set_context(void *context, uint32_t security_state); -void cm_el3_sysregs_context_save(uint32_t security_state); void cm_init_context(uint64_t mpidr, const struct entry_point_info *ep); void cm_prepare_el3_exit(uint32_t security_state); -void cm_el3_sysregs_context_restore(uint32_t security_state); void cm_el1_sysregs_context_save(uint32_t security_state); void cm_el1_sysregs_context_restore(uint32_t security_state); void cm_set_elr_el3(uint32_t security_state, uint64_t entrypoint); |
