diff options
author | Yatharth Kochar <yatharth.kochar@arm.com> | 2016-06-28 17:07:09 +0100 |
---|---|---|
committer | Yatharth Kochar <yatharth.kochar@arm.com> | 2016-09-21 16:27:27 +0100 |
commit | f3b4914be3b41eb2231184f7af80240296f668c5 (patch) | |
tree | d55c0effc0e98562e6c08640fcc2a5eb74ae2983 /include/lib | |
parent | 1a0a3f0622e4b569513304109d9a0d093b71228a (diff) |
AArch32: Add generic changes in BL1
This patch adds generic changes in BL1 to support AArch32 state.
New AArch32 specific assembly/C files are introduced and
some files are moved to AArch32/64 specific folders.
BL1 for AArch64 is refactored but functionally identical.
BL1 executes in Secure Monitor mode in AArch32 state.
NOTE: BL1 in AArch32 state ONLY handles BL1_RUN_IMAGE SMC.
Change-Id: I6e2296374c7efbf3cf2aa1a0ce8de0732d8c98a5
Diffstat (limited to 'include/lib')
-rw-r--r-- | include/lib/el3_runtime/context_mgmt.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/lib/el3_runtime/context_mgmt.h b/include/lib/el3_runtime/context_mgmt.h index b264fc32..676973ce 100644 --- a/include/lib/el3_runtime/context_mgmt.h +++ b/include/lib/el3_runtime/context_mgmt.h @@ -103,5 +103,9 @@ static inline void cm_set_next_context(void *context) "msr spsel, #0\n" : : "r" (context)); } + +#else +void *cm_get_next_context(void); #endif /* AARCH32 */ + #endif /* __CM_H__ */ |