david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[bios] Allow bios_console.c to be compiled for x86_64

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2016-02-16 18:48:37 +00:00
parent 4d224c95d4
commit 7691e5eedb
1 changed files with 1 additions and 1 deletions

View File

@ -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 ) );