Kernel: Change prekernel to use shared SP across Exception Levels
This commit is contained in:
parent
5a75bd31b0
commit
18f1530c84
Notes:
sideshowbarker
2024-07-18 00:33:16 +09:00
Author: https://github.com/jamesmintram Commit: https://github.com/SerenityOS/serenity/commit/18f1530c846 Pull-request: https://github.com/SerenityOS/serenity/pull/10514 Reviewed-by: https://github.com/mundak ✅ Reviewed-by: https://github.com/nico
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue