aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhpa <hpa>2001-03-10 08:11:28 +0000
committerhpa <hpa>2001-03-10 08:11:28 +0000
commit5884d30c4499d5aee2426dd43a7771218c39c050 (patch)
tree6ea7dc1b76fa722f49ff0567fa0b2631faa2fffc
parentce7547f69fc259771a76e8c61bf4e2c3290ae5df (diff)
downloadsyslinux-5884d30c4499d5aee2426dd43a7771218c39c050.tar.gz
syslinux-5884d30c4499d5aee2426dd43a7771218c39c050.tar.xz
syslinux-5884d30c4499d5aee2426dd43a7771218c39c050.zip
Fix offset for !PXE pointer passed on stack.
-rw-r--r--pxelinux.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/pxelinux.asm b/pxelinux.asm
index 936d051f..42ed972a 100644
--- a/pxelinux.asm
+++ b/pxelinux.asm
@@ -397,9 +397,9 @@ _start1:
push es
push fs
push gs
-
+
mov bp,sp
- les bx,[bp+4] ; Initial !PXE structure pointer
+ les bx,[bp+48] ; Initial !PXE structure pointer
mov ax,cs
mov ds,ax
@@ -438,7 +438,7 @@ _start1:
jne no_pxe
; Okay, that gave us the PXENV+ structure, find !PXE
- ; structure from that
+ ; structure from that (if available)
cmp dword [es:bx], 'PXEN'
jne no_pxe
cmp word [es:bx+4], 'V+'