From 012f478c8162413e5e8320ff346dfd57a40ca9d1 Mon Sep 17 00:00:00 2001 From: jkim Date: Sat, 7 Aug 2010 03:45:45 +0000 Subject: Optimize interrupt vector lookup. There is no need to check the page table. --- sys/compat/x86bios/x86bios.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/compat/x86bios') diff --git a/sys/compat/x86bios/x86bios.c b/sys/compat/x86bios/x86bios.c index a9fe257..b9be658 100644 --- a/sys/compat/x86bios/x86bios.c +++ b/sys/compat/x86bios/x86bios.c @@ -194,7 +194,7 @@ uint32_t x86bios_get_intr(int intno) { - return (readl(x86bios_offset(intno * 4))); + return (readl(BIOS_PADDRTOVADDR(intno * 4))); } void -- cgit v1.1