Browse Source

[comboot] Implement stub calls for auxiliary data vector handling

Signed-off-by: Michael Brown <mcb30@etherboot.org>
tags/v0.9.8
Daniel Verkamp 15 years ago
parent
commit
e47869995f
1 changed files with 12 additions and 1 deletions
  1. 12
    1
      src/arch/i386/interface/syslinux/comboot_call.c

+ 12
- 1
src/arch/i386/interface/syslinux/comboot_call.c View File

326
 	case 0x0001: /* Get Version */
326
 	case 0x0001: /* Get Version */
327
 
327
 
328
 		/* Number of INT 22h API functions available */
328
 		/* Number of INT 22h API functions available */
329
-		ix86->regs.ax = 0x001B;
329
+		ix86->regs.ax = 0x001D;
330
 
330
 
331
 		/* SYSLINUX version number */
331
 		/* SYSLINUX version number */
332
 		ix86->regs.ch = 0; /* major */
332
 		ix86->regs.ch = 0; /* major */
631
 
631
 
632
 		break;
632
 		break;
633
 
633
 
634
+	case 0x001C: /* Get pointer to auxilliary data vector */
635
+		/* FIXME: stub */
636
+		ix86->regs.cx = 0; /* Size of the ADV */
637
+		ix86->flags &= ~CF;
638
+		break;
639
+
640
+	case 0x001D: /* Write auxilliary data vector */
641
+		/* FIXME: stub */
642
+		ix86->flags &= ~CF;
643
+		break;
644
+
634
 	default:
645
 	default:
635
 		DBG ( "COMBOOT unknown int22 function %04x\n", ix86->regs.ax );
646
 		DBG ( "COMBOOT unknown int22 function %04x\n", ix86->regs.ax );
636
 		break;
647
 		break;

Loading…
Cancel
Save