From 5884d30c4499d5aee2426dd43a7771218c39c050 Mon Sep 17 00:00:00 2001 From: hpa Date: Sat, 10 Mar 2001 08:11:28 +0000 Subject: [PATCH] Fix offset for !PXE pointer passed on stack. --- pxelinux.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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+' -- 2.7.4