From 20d9de33ccb71d3cd233f77f244af4e53c8846ca Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 13 Dec 2011 23:08:03 +0100 Subject: Fix console output in real mode int10 implementation. Checking RBIL, int10 AH=0x10 does never output a character. The two output functions are AH=0x09 and AH=0x0e. Change-Id: Id7f4d260b63024748ef771f949e8b60f934bacbc Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/483 Tested-by: build bot (Jenkins) Reviewed-by: Rudolf Marek --- src/devices/oprom/x86_interrupts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/devices') diff --git a/src/devices/oprom/x86_interrupts.c b/src/devices/oprom/x86_interrupts.c index 86d20d7d2e..bada546c90 100644 --- a/src/devices/oprom/x86_interrupts.c +++ b/src/devices/oprom/x86_interrupts.c @@ -70,7 +70,7 @@ int int10_handler(struct eregs *regs) res = 0; break; case 0x09: // Write Character and attribute - case 0x10: // Write Character + case 0x0e: // Write Character printk(BIOS_INFO, "%c", regs->eax & 0xff); res = 0; break; -- cgit v1.2.3