From: hpa Date: Sat, 10 Mar 2001 08:11:28 +0000 (+0000) Subject: Fix offset for !PXE pointer passed on stack. X-Git-Tag: syslinux-1.53~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5884d30c4499d5aee2426dd43a7771218c39c050;p=profile%2Fivi%2Fsyslinux.git Fix offset for !PXE pointer passed on stack. --- diff --git a/pxelinux.asm b/pxelinux.asm index 936d051..42ed972 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+'