From b488dcdbade9816b24c39386c6b4c0dbc53b8694 Mon Sep 17 00:00:00 2001 From: Marcus Overhagen Date: Wed, 4 Oct 2006 23:39:19 +0000 Subject: [PATCH] modified, but still wrong git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18998 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/boot/platform/pxe_ia32/pxe_stage2.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/system/boot/platform/pxe_ia32/pxe_stage2.S b/src/system/boot/platform/pxe_ia32/pxe_stage2.S index bb1b516534..660a967f4d 100644 --- a/src/system/boot/platform/pxe_ia32/pxe_stage2.S +++ b/src/system/boot/platform/pxe_ia32/pxe_stage2.S @@ -17,6 +17,7 @@ .text .code16 +.org 0 pxe_start: cli @@ -25,7 +26,7 @@ pxe_start: .code32 // This forces a 32 bit relocation entry .byte 0x66 // that allows linking with others .byte 0x67 - lgdt gdt_descriptor + 0x100000 + lgdt gdt_descriptor .code16 movl %cr0, %eax // set the PE bit of cr0 to switch to protected mode