Some versions of mboot.c32 shipped by VMWare fail because of a version check
(done with INT 22h with AX set to 0001h). gPXE appears to use an empty version
number (0.0). This patch makes it return 2.12

--- a/src/arch/i386/interface/syslinux/comboot_call.c
+++ b/src/arch/i386/interface/syslinux/comboot_call.c
@@ -331,8 +331,8 @@ static __asmcall void int22 ( struct i386_all_regs *ix86 ) {
         ix86->regs.ax = 0x001D;
          /* SYSLINUX version number */
-          ix86->regs.ch = 0; /* major */
-          ix86->regs.cl = 0; /* minor */
+          ix86->regs.ch = 2; /* major */
+          ix86->regs.cl = 12; /* minor */
          /* SYSLINUX derivative ID */
         ix86->regs.dl = BZI_LOADER_TYPE_GPXE;
_______________________________________________
gPXE mailing list
gPXE@etherboot.org
http://etherboot.org/mailman/listinfo/gpxe

Reply via email to