summaryrefslogtreecommitdiff
path: root/comboot.inc
diff options
context:
space:
mode:
authorhpa <hpa>2004-12-21 02:15:31 +0000
committerhpa <hpa>2004-12-21 02:15:31 +0000
commit844626c1c81bffcc2ea681c256549520cf1d18ae (patch)
treeeea184da6d8329ffc5d8f8ae8ae00616265cdac2 /comboot.inc
parent8d6c07657b1bb3c990a38af4132a424e5033d5f2 (diff)
downloadsyslinux-844626c1c81bffcc2ea681c256549520cf1d18ae.tar.gz
Add an API function to get the IPAPPEND strings.
Add a dummy MENU command to specify menu-specific options.
Diffstat (limited to 'comboot.inc')
-rw-r--r--comboot.inc22
1 files changed, 22 insertions, 0 deletions
diff --git a/comboot.inc b/comboot.inc
index 00d603c2..9851abe0 100644
--- a/comboot.inc
+++ b/comboot.inc
@@ -563,6 +563,27 @@ comapi_configfile:
clc
ret
+;
+; INT 22h AX=000Fh Get IPAPPEND strings
+;
+%if IS_PXELINUX
+comapi_ipappend:
+ mov P_ES,cs
+ mov P_CX,numIPAppends
+ mov P_BX,IPAppends
+ clc
+ ret
+
+ section .data
+ alignb 2, db 0
+IPAppends dw IPOption
+ dw BOOTIFStr
+numIPAppends equ ($-IPAppends)/2
+
+%else
+comboot_ipappend equ comapi_err
+%endif
+
section .bss
SavedSSSP resd 1 ; Our SS:SP while running a COMBOOT image
@@ -602,6 +623,7 @@ int22_table:
dw comapi_cleanup ; 000C perform final cleanup
dw comapi_chainboot ; 000D clean up then bootstrap
dw comapi_configfile ; 000E get name of config file
+ dw comapi_ipappend ; 000F get ipappend strings
int22_count equ ($-int22_table)/2
APIKeyWait db 0