summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2011-12-13 23:08:03 +0100
committerRudolf Marek <r.marek@assembler.cz>2011-12-13 23:46:27 +0100
commit20d9de33ccb71d3cd233f77f244af4e53c8846ca (patch)
tree4718f0e7ced9cf2d537dfde1c7ae9856dbbfb8bd /src
parentdbde80955845177d15bce31943e22546a8ca399b (diff)
downloadcoreboot-20d9de33ccb71d3cd233f77f244af4e53c8846ca.tar.xz
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>
Diffstat (limited to 'src')
-rw-r--r--src/devices/oprom/x86_interrupts.c2
1 files changed, 1 insertions, 1 deletions
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;