diff options
author | hpa <hpa> | 2002-06-17 02:57:27 +0000 |
---|---|---|
committer | hpa <hpa> | 2002-06-17 02:57:27 +0000 |
commit | 2600c93ff5c16b523e1a9d3a4506b3e9623d102d (patch) | |
tree | 40b508fcdca1d6cf75fda0ebdc09899aa95c4f78 /pxelinux.asm | |
parent | 59c1249ed12543c49b4d68c00fbd2a81842912be (diff) | |
download | syslinux-2600c93ff5c16b523e1a9d3a4506b3e9623d102d.tar.gz |
Document changes due to the use of a stack frame; add new "get derivative
specific information" API call.
Diffstat (limited to 'pxelinux.asm')
-rw-r--r-- | pxelinux.asm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pxelinux.asm b/pxelinux.asm index 125d0183..d19e1711 100644 --- a/pxelinux.asm +++ b/pxelinux.asm @@ -198,6 +198,7 @@ Stack resd 1 ; Pointer to reset stack PXEEntry resd 1 ; !PXE API entry point RebootTime resd 1 ; Reboot timeout, if set by option KernelClust resd 1 ; Kernel size in clusters +StrucPtr resd 1 ; Pointer to PXENV+ or !PXE structure FBytes equ $ ; Used by open/getc FBytes1 resw 1 FBytes2 resw 1 @@ -356,6 +357,9 @@ no_pxe: mov si,err_nopxe jmp kaboom have_pxenv: + mov [StrucPtr],bx + mov [StrucPtr+2],es + mov si,found_pxenv call writestr @@ -439,6 +443,9 @@ old_api: ; Need to use a PXENV+ structure jmp have_entrypoint have_pxe: + mov [StrucPtr],bx + mov [StrucPtr+2],es + mov eax,[es:bx+10h] mov [PXEEntry],eax |