mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-05-09 02:51:21 +00:00
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
This commit is contained in:
parent
1a0a3f0622
commit
f3b4914be3
10 changed files with 478 additions and 26 deletions
|
@ -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__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue