aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2009-02-18 15:29:30 -0800
committerH. Peter Anvin <hpa@linux.intel.com>2009-02-18 15:29:30 -0800
commit0695e582731ab3d05706de4f9b0a12deefc14f01 (patch)
tree0d30ed26c2b3588a2af1b28d576faa0fbf2bc8ab
parentc28f61e98392cfd8fa40b64caa88e8a2da6eeff3 (diff)
downloadsyslinux-elf-0695e582731ab3d05706de4f9b0a12deefc14f01.tar.gz
syslinux-elf-0695e582731ab3d05706de4f9b0a12deefc14f01.tar.xz
syslinux-elf-0695e582731ab3d05706de4f9b0a12deefc14f01.zip
pxelinux: InitStack is only 16-bit seg:off
-rw-r--r--core/pxelinux.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pxelinux.asm b/core/pxelinux.asm
index b5608d11..344d094c 100644
--- a/core/pxelinux.asm
+++ b/core/pxelinux.asm
@@ -322,7 +322,7 @@ _start1:
; it if the API version is 2.1 or later.
;
; Plan A: !PXE structure as SS:[SP+4]
- lgs ebp,[InitStack] ; GS:BP -> original stack
+ lgs bp,[InitStack] ; GS:BP -> original stack
les bx,[gs:bp+48]
call is_pxe
je have_pxe