From 714e2a1ac1c41f2150231766fcdb216633fab8c9 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sat, 24 Apr 2010 23:15:23 +0000 Subject: drop all duplicate copies of vgabios.c in favor of devices/oprom/x86.c. We have some tests on hardware. Moving RAMBASE to 1MB needs to wait a bit until C7 cache_as_ram.inc has been adapted to cache that area or things will become incredibly slow (1.5s boot time instead of 0.5) Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5488 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/devices/oprom/x86.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/devices') diff --git a/src/devices/oprom/x86.c b/src/devices/oprom/x86.c index 7df46283a9..9e72a4a6a6 100644 --- a/src/devices/oprom/x86.c +++ b/src/devices/oprom/x86.c @@ -134,11 +134,13 @@ static void setup_realmode_idt(void) /* Many option ROMs use the hard coded interrupt entry points in the * system bios. So install them at the known locations. - * Only need int10 so far. */ /* int42 is the relocated int10 */ - write_idt_stub((void *)0xff065, 0x42); + write_idt_stub((void *)0xff065, 0x42); + + /* VIA's VBIOS calls f000:f859 instead of int15 */ + write_idt_stub((void *)0xff859, 0x15); } void run_bios(struct device *dev, unsigned long addr) -- cgit v1.2.3