mirror of
https://github.com/ipxe/ipxe
synced 2025-12-13 07:20:47 +03:00
[bios] Allow bios_console.c to be compiled for x86_64
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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 ) );
|
||||
|
||||
Reference in New Issue
Block a user