mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:47:45 +00:00
Kernel: Change prekernel to use shared SP across Exception Levels
This commit is contained in:
parent
5a75bd31b0
commit
18f1530c84
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
Add a link
Reference in a new issue