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 <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/483
Tested-by: build bot (Jenkins)
Reviewed-by: Rudolf Marek <r.marek@assembler.cz>
diff --git a/src/devices/oprom/x86_interrupts.c b/src/devices/oprom/x86_interrupts.c
index 86d20d7..bada546 100644
--- a/src/devices/oprom/x86_interrupts.c
+++ b/src/devices/oprom/x86_interrupts.c
@@ -70,7 +70,7 @@
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;