diff --git a/src/system/boot/platform/pxe_ia32/smp_trampoline.S b/src/system/boot/platform/pxe_ia32/smp_trampoline.S index 91ae8a5f9a..01e9b51c04 100644 --- a/src/system/boot/platform/pxe_ia32/smp_trampoline.S +++ b/src/system/boot/platform/pxe_ia32/smp_trampoline.S @@ -47,6 +47,11 @@ trampoline_32: movl %eax,%cr3 # set the page dir popl %eax # get the final stack location + + // Clear the final stack location to notify the startup code that + // we loaded the address and it is now safe to be overwritten. + pushl $0x00000000 + movl %eax,%esp // load an address for an indirect jump