mirror of https://github.com/ipxe/ipxe.git
[pxe] Enable interrupts before starting PXE NBP execution
Based on a patch provided by XenSource for Etherboot 5.4.pull/1/head
parent
887d77c27a
commit
fed106b7fb
|
@ -440,6 +440,7 @@ int pxe_start_nbp ( void ) {
|
||||||
__asm__ __volatile__ ( REAL_CODE ( "pushw %%cx\n\t"
|
__asm__ __volatile__ ( REAL_CODE ( "pushw %%cx\n\t"
|
||||||
"pushw %%ax\n\t"
|
"pushw %%ax\n\t"
|
||||||
"movw %%cx, %%es\n\t"
|
"movw %%cx, %%es\n\t"
|
||||||
|
"sti\n\t"
|
||||||
"lcall $0, $0x7c00\n\t"
|
"lcall $0, $0x7c00\n\t"
|
||||||
"addw $4, %%sp\n\t" )
|
"addw $4, %%sp\n\t" )
|
||||||
: "=a" ( rc ), "=b" ( discard_b ),
|
: "=a" ( rc ), "=b" ( discard_b ),
|
||||||
|
|
Loading…
Reference in New Issue