Set stack pointer immediately upon boot
This commit is contained in:
parent
20c7c8bd7e
commit
50d9caa5f6
nucleus/src/arch/aarch64
|
@ -183,6 +183,8 @@ pub unsafe extern "C" fn _boot_cores() -> ! {
|
|||
const EL2: u64 = CurrentEL::EL::EL2.value;
|
||||
const EL1: u64 = CurrentEL::EL::EL1.value;
|
||||
|
||||
SP.set(STACK_START);
|
||||
|
||||
if CORE_0 == MPIDR_EL1.get() & CORE_MASK {
|
||||
match CurrentEL.get() {
|
||||
#[cfg(qemu)]
|
||||
|
|
Loading…
Reference in New Issue