From f75b19ac85ccfffba5eca37700d4c705b24a355e Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 22 Apr 2010 18:15:32 +0000 Subject: via epia-m now works with default x86.c instead of its own copy of vgabios.c. Allows to drop quite a bunch of nasty code Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5478 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/devices/oprom/x86.c | 2 +- src/devices/oprom/x86_asm.S | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src/devices') diff --git a/src/devices/oprom/x86.c b/src/devices/oprom/x86.c index 4ed0ff8709..7df46283a9 100644 --- a/src/devices/oprom/x86.c +++ b/src/devices/oprom/x86.c @@ -318,7 +318,7 @@ int __attribute__((regparm(0))) interrupt_handler(u32 intnumber, /* Pass errors back to our caller via the CARRY flag */ if (ret) { - printk(BIOS_DEBUG,"error!\n"); + printk(BIOS_DEBUG,"int%02x call returned error.\n", intnumber); flags |= 1; // error: set carry }else{ flags &= ~1; // no error: clear carry diff --git a/src/devices/oprom/x86_asm.S b/src/devices/oprom/x86_asm.S index 194b4cb64c..03c6994046 100644 --- a/src/devices/oprom/x86_asm.S +++ b/src/devices/oprom/x86_asm.S @@ -257,8 +257,6 @@ __run_vsa = RELOCATED(.) .globl __run_interrupt __run_interrupt = RELOCATED(.) - /* paranoia -- does ecx get saved? not sure. This is - * the easiest safe thing to do. */ pushal /* save the stack */ mov %esp, __stack -- cgit v1.2.3