diff options
| author | Michael Brown | 2011-03-10 23:50:05 +0100 |
|---|---|---|
| committer | Michael Brown | 2011-03-10 23:50:05 +0100 |
| commit | 9a5b4aed69a31a49937dbbaaa9bab80725ce1d9c (patch) | |
| tree | 3a08f47fb22c8ed5fc1c840ec9cc8b194cc0d903 /src | |
| parent | [pxe] Report an IRQ number only if device supports interrupts (diff) | |
| download | ipxe-9a5b4aed69a31a49937dbbaaa9bab80725ce1d9c.tar.gz ipxe-9a5b4aed69a31a49937dbbaaa9bab80725ce1d9c.tar.xz ipxe-9a5b4aed69a31a49937dbbaaa9bab80725ce1d9c.zip | |
[bios] Use INT 16,11 instead of INT 16,01 to check for keystrokes
INT 16,01 will discard some extended keystrokes on some BIOSes, making
it impossible for iPXE to detect keypresses such as F12. Fix by using
INT 16,11 instead.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/arch/i386/firmware/pcbios/bios_console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/i386/firmware/pcbios/bios_console.c b/src/arch/i386/firmware/pcbios/bios_console.c index 0720cd76d..55ab21bbb 100644 --- a/src/arch/i386/firmware/pcbios/bios_console.c +++ b/src/arch/i386/firmware/pcbios/bios_console.c @@ -286,7 +286,7 @@ static int bios_iskey ( void ) { "popw %w0\n\t" "cli\n\t" ) : "=r" ( flags ), "=a" ( discard_a ) - : "a" ( 0x0100 ) ); + : "a" ( 0x1100 ) ); return ( ! ( flags & ZF ) ); } |
