From d7a5fb634f8c17d7b161e595b69feba510cc2f06 Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Sat, 7 Aug 2010 03:45:45 +0000 Subject: [PATCH] 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(-) diff --git a/sys/compat/x86bios/x86bios.c b/sys/compat/x86bios/x86bios.c index a9fe257d5333..b9be658680e9 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