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>
This commit is contained in:
parent
dbde809558
commit
20d9de33cc
|
@ -70,7 +70,7 @@ int int10_handler(struct eregs *regs)
|
||||||
res = 0;
|
res = 0;
|
||||||
break;
|
break;
|
||||||
case 0x09: // Write Character and attribute
|
case 0x09: // Write Character and attribute
|
||||||
case 0x10: // Write Character
|
case 0x0e: // Write Character
|
||||||
printk(BIOS_INFO, "%c", regs->eax & 0xff);
|
printk(BIOS_INFO, "%c", regs->eax & 0xff);
|
||||||
res = 0;
|
res = 0;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue