address of the boot interface to the kernel as a
command-line option.
* mkdiskimage: fix the generation of the end limit.
- * PXELINUX: Fix bug in chainloading of other NBPs.
+ * PXELINUX: Fix multiple bugs in chainloading of other NBPs.
* MEMDISK: Fix bug that would occationally cause "ran out of
input data" when using compressed disk images.
push cx
%endif
xchg dx,ax
- shr eax,16
+ shl eax,16
xchg dx,ax ; Now EAX = file length
mov edi, 100000h
call load_high
;
; Now we need to find the !PXE structure. It's *supposed* to be pointed
; to by SS:[SP+4], but support INT 1Ah, AX=5650h method as well.
-;
+; FIX: ES:BX should point to the PXENV+ structure on entry as well.
+; We should make that the second test, and not trash ES:BX...
+;
cmp dword [es:bx], '!PXE'
je have_pxe