mirror of https://github.com/ipxe/ipxe.git
[bios] Allow bios_console.c to be compiled for x86_64
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/45/head
parent
4d224c95d4
commit
7691e5eedb
|
@ -434,7 +434,7 @@ static int bios_iskey ( void ) {
|
|||
"pushfw\n\t"
|
||||
"popw %w0\n\t"
|
||||
"cli\n\t" )
|
||||
: "=r" ( flags ), "=a" ( discard_a )
|
||||
: "=R" ( flags ), "=a" ( discard_a )
|
||||
: "a" ( 0x1100 ), "m" ( bios_inject_lock ) );
|
||||
bios_inject_lock--;
|
||||
return ( ! ( flags & ZF ) );
|
||||
|
|
Loading…
Reference in New Issue