mirror of https://github.com/ipxe/ipxe.git
Should work for KEEP_IT_REAL as well now.
parent
0ccaf5bb83
commit
ff53205d0d
|
@ -176,10 +176,10 @@ INIT_FN ( INIT_PCIBIOS, find_pcibios16, NULL, NULL );
|
||||||
uint32_t discard_b, discard_D; \
|
uint32_t discard_b, discard_D; \
|
||||||
uint16_t ret; \
|
uint16_t ret; \
|
||||||
\
|
\
|
||||||
REAL_EXEC ( __FUNCTION__ , \
|
REAL_EXEC ( 999, /* need a local label */ \
|
||||||
"int $0x1a\n\t" \
|
"int $0x1a\n\t" \
|
||||||
"jc 1f\n\t" \
|
"jc 1f\n\t" \
|
||||||
"xorl %%eax, %%eax\n\t" \
|
"xorw %%ax, %%ax\n\t" \
|
||||||
"\n1:\n\t", \
|
"\n1:\n\t", \
|
||||||
5, \
|
5, \
|
||||||
OUT_CONSTRAINTS ( "=a" ( ret ), \
|
OUT_CONSTRAINTS ( "=a" ( ret ), \
|
||||||
|
@ -191,7 +191,7 @@ INIT_FN ( INIT_PCIBIOS, find_pcibios16, NULL, NULL );
|
||||||
"b" ( pci->busdevfn ), \
|
"b" ( pci->busdevfn ), \
|
||||||
"c" ( value ), \
|
"c" ( value ), \
|
||||||
"D" ( where ) ), \
|
"D" ( where ) ), \
|
||||||
CLOBBER ( "edx", "ebp" ) ); \
|
CLOBBER ( "edx", "esi", "ebp" ) ); \
|
||||||
\
|
\
|
||||||
( ret >> 8 ); \
|
( ret >> 8 ); \
|
||||||
} )
|
} )
|
||||||
|
|
Loading…
Reference in New Issue