Kernel: Change prekernel to use shared SP across Exception Levels

This commit is contained in:
James Mintram 2021-10-17 14:22:05 +01:00 committed by Brian Gianforcaro
parent 5a75bd31b0
commit 18f1530c84
Notes: sideshowbarker 2024-07-18 00:33:16 +09:00

View File

@ -18,6 +18,7 @@ start:
// Let stack start before .text for now.
// 512 kiB (0x80000) of stack are probably not sufficient, especially once we give the other cores some stack too,
// but for now it's ok.
msr SPSel, #0 //Use the same SP as we descend into EL1
ldr x14, =start
mov sp, x14