From f3b4914be3b41eb2231184f7af80240296f668c5 Mon Sep 17 00:00:00 2001 From: Yatharth Kochar Date: Tue, 28 Jun 2016 17:07:09 +0100 Subject: 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 --- include/lib/el3_runtime/context_mgmt.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/lib') 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__ */ -- cgit