diff options
author | James Mintram <me@jamesrm.com> | 2021-10-17 14:22:05 +0100 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2021-11-28 22:01:21 -0800 |
commit | 18f1530c8463fa4de58a02a8b36f1ee696cc1c76 (patch) | |
tree | f5b8b9b26e4656da92741401a093cff93b2dfcfc /Kernel/Prekernel | |
parent | 5a75bd31b09ea01a77a9774e95909af925fcf5b8 (diff) | |
download | serenity-18f1530c8463fa4de58a02a8b36f1ee696cc1c76.zip |
Kernel: Change prekernel to use shared SP across Exception Levels
Diffstat (limited to 'Kernel/Prekernel')
-rw-r--r-- | Kernel/Prekernel/Arch/aarch64/boot.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/Prekernel/Arch/aarch64/boot.S b/Kernel/Prekernel/Arch/aarch64/boot.S index 2b4b1cc2c9..d0d19966e6 100644 --- a/Kernel/Prekernel/Arch/aarch64/boot.S +++ b/Kernel/Prekernel/Arch/aarch64/boot.S @@ -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 |