mirror of
https://github.com/ipxe/ipxe
synced 2025-12-22 21:11:03 +03:00
[pxe] Enable interrupts before starting PXE NBP execution
Based on a patch provided by XenSource for Etherboot 5.4.
This commit is contained in:
@@ -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 ),
|
||||||
|
|||||||
Reference in New Issue
Block a user