[pxe] Enable interrupts before starting PXE NBP execution
authorMichael Brown <mcb30@etherboot.org>
Wed, 24 Sep 2008 20:23:50 +0000 (21:23 +0100)
committerMichael Brown <mcb30@etherboot.org>
Wed, 24 Sep 2008 20:23:50 +0000 (21:23 +0100)
Based on a patch provided by XenSource for Etherboot 5.4.

src/arch/i386/interface/pxe/pxe_call.c

index 3ccb7fb..7122c4e 100644 (file)
@@ -440,6 +440,7 @@ int pxe_start_nbp ( void ) {
        __asm__ __volatile__ ( REAL_CODE ( "pushw %%cx\n\t"
                                           "pushw %%ax\n\t"
                                           "movw %%cx, %%es\n\t"
+                                          "sti\n\t"
                                           "lcall $0, $0x7c00\n\t"
                                           "addw $4, %%sp\n\t" )
                               : "=a" ( rc ), "=b" ( discard_b ),