diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-04-24 23:15:23 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-04-24 23:15:23 +0000 |
commit | 714e2a1ac1c41f2150231766fcdb216633fab8c9 (patch) | |
tree | 78e3b511bbe1315b7a485e86e7b023b514cbf6f9 /src/devices | |
parent | 0704058327e5a8fa00ea32bbe10be748d7824fc1 (diff) |
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 <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5488 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/devices')
-rw-r--r-- | src/devices/oprom/x86.c | 6 |
1 files changed, 4 insertions, 2 deletions
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) |