mirror of https://github.com/ipxe/ipxe.git
[comboot] Implement stub calls for auxiliary data vector handling
Signed-off-by: Michael Brown <mcb30@etherboot.org>pull/1/head
parent
1f80b2dcd5
commit
e47869995f
|
@ -326,7 +326,7 @@ static __asmcall void int22 ( struct i386_all_regs *ix86 ) {
|
||||||
case 0x0001: /* Get Version */
|
case 0x0001: /* Get Version */
|
||||||
|
|
||||||
/* Number of INT 22h API functions available */
|
/* Number of INT 22h API functions available */
|
||||||
ix86->regs.ax = 0x001B;
|
ix86->regs.ax = 0x001D;
|
||||||
|
|
||||||
/* SYSLINUX version number */
|
/* SYSLINUX version number */
|
||||||
ix86->regs.ch = 0; /* major */
|
ix86->regs.ch = 0; /* major */
|
||||||
|
@ -631,6 +631,17 @@ static __asmcall void int22 ( struct i386_all_regs *ix86 ) {
|
||||||
|
|
||||||
break;
|
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:
|
default:
|
||||||
DBG ( "COMBOOT unknown int22 function %04x\n", ix86->regs.ax );
|
DBG ( "COMBOOT unknown int22 function %04x\n", ix86->regs.ax );
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue