aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Verkamp <daniel@drv.nu>2009-05-25 16:32:48 -0400
committerMichael Brown <mcb30@etherboot.org>2009-05-26 11:43:02 +0100
commite47869995f67bd2547bf416e53c480ca51235ed8 (patch)
treeb6e20e2909a0c7dc05bac29f288c2217261375a6 /src
parent1f80b2dcd5b889875ac40a11bf15b88b0dffc330 (diff)
downloadipxe-e47869995f67bd2547bf416e53c480ca51235ed8.zip
ipxe-e47869995f67bd2547bf416e53c480ca51235ed8.tar.gz
ipxe-e47869995f67bd2547bf416e53c480ca51235ed8.tar.bz2
[comboot] Implement stub calls for auxiliary data vector handling
Signed-off-by: Michael Brown <mcb30@etherboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/arch/i386/interface/syslinux/comboot_call.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/arch/i386/interface/syslinux/comboot_call.c b/src/arch/i386/interface/syslinux/comboot_call.c
index a78af72..30fb49a 100644
--- a/src/arch/i386/interface/syslinux/comboot_call.c
+++ b/src/arch/i386/interface/syslinux/comboot_call.c
@@ -326,7 +326,7 @@ static __asmcall void int22 ( struct i386_all_regs *ix86 ) {
case 0x0001: /* Get Version */
/* Number of INT 22h API functions available */
- ix86->regs.ax = 0x001B;
+ ix86->regs.ax = 0x001D;
/* SYSLINUX version number */
ix86->regs.ch = 0; /* major */
@@ -631,6 +631,17 @@ static __asmcall void int22 ( struct i386_all_regs *ix86 ) {
break;
+ case 0x001C: /* Get pointer to auxilliary data vector */
+ /* FIXME: stub */
+ ix86->regs.cx = 0; /* Size of the ADV */
+ ix86->flags &= ~CF;
+ break;
+
+ case 0x001D: /* Write auxilliary data vector */
+ /* FIXME: stub */
+ ix86->flags &= ~CF;
+ break;
+
default:
DBG ( "COMBOOT unknown int22 function %04x\n", ix86->regs.ax );
break;