* !PXE pointer is offset 26h, not 26, in PXENV+ structure
authorhpa <hpa>
Mon, 6 Sep 1999 03:39:16 +0000 (03:39 +0000)
committerhpa <hpa>
Mon, 6 Sep 1999 03:39:16 +0000 (03:39 +0000)
* We're now working on version 1.46.

pxelinux.asm
version

index f726831..6a6dd90 100644 (file)
@@ -332,6 +332,9 @@ _start1:
                cmp ax,564Eh
                jne no_pxe
 
+               mov si,found_pxenv
+               call writestr
+
                ; Okay, that gave us the PXENV+ structure, find !PXE
                ; structure from that
                cmp dword [es:bx], 'PXEN'
@@ -340,7 +343,7 @@ _start1:
                jne no_pxe
                cmp word [es:bx+6], 0201h       ; API version 2.1 or higher
                jb no_pxe
-               les bx,[es:bx+26              ; !PXE structure pointer
+               les bx,[es:bx+26h]              ; !PXE structure pointer
                cmp dword [es:bx],'!PXE'
                je have_pxe
 
@@ -2923,6 +2926,7 @@ err_bootfailed    db 0Dh, 0Ah, 'Boot failed: please change disks and press '
                db 'a key to continue.', 0Dh, 0Ah, 0
 bailmsg                equ err_bootfailed
 err_nopxe      db 'Cannot find !PXE structure, I want my mommy!' ,0Dh, 0Ah, 0
+found_pxenv    db 'Found PXENV+ structure', 0Dh, 0Ah, 0
 loading_msg     db 'Loading ', 0
 dotdot_msg      db '.'
 dot_msg         db '.', 0
diff --git a/version b/version
index 24c87c5..7ab887e 100644 (file)
--- a/version
+++ b/version
@@ -1 +1 @@
-1.45
+1.46