From db52d16ef8fa1585086d726b93deac34fc379024 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 5 Feb 2008 23:59:17 +0000 Subject: [PATCH] Applied r23800 to the PXE trampoline code, too. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23883 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/boot/platform/pxe_ia32/smp_trampoline.S | 5 +++++ 1 file changed, 5 insertions(+) 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