summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brown2008-09-24 22:23:50 +0200
committerMichael Brown2008-09-24 22:23:50 +0200
commitfed106b7fb62ed1a3db3ff690eae1c17a965cce8 (patch)
tree5c75dde9d3971b37f5eb84037990fb0467de52e5
parent[pcbios] Inhibit INT 15 memory map hiding on brain-dead BIOSes (diff)
downloadipxe-fed106b7fb62ed1a3db3ff690eae1c17a965cce8.tar.gz
ipxe-fed106b7fb62ed1a3db3ff690eae1c17a965cce8.tar.xz
ipxe-fed106b7fb62ed1a3db3ff690eae1c17a965cce8.zip
[pxe] Enable interrupts before starting PXE NBP execution
Based on a patch provided by XenSource for Etherboot 5.4.
-rw-r--r--src/arch/i386/interface/pxe/pxe_call.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/i386/interface/pxe/pxe_call.c b/src/arch/i386/interface/pxe/pxe_call.c
index 3ccb7fb5..7122c4eb 100644
--- a/src/arch/i386/interface/pxe/pxe_call.c
+++ b/src/arch/i386/interface/pxe/pxe_call.c
@@ -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 ),