From 092a5c4530e8228794d938e953a42b7d5ac0a7ad Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Thu, 10 Jun 2004 20:31:00 +0000 Subject: Remove atdevbase and replace it's remaining uses with direct references to KERNBASE instead. --- sys/dev/fb/vga.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/fb') diff --git a/sys/dev/fb/vga.c b/sys/dev/fb/vga.c index 7bde1d9059ac..9f128135af4b 100644 --- a/sys/dev/fb/vga.c +++ b/sys/dev/fb/vga.c @@ -67,7 +67,7 @@ __FBSDID("$FreeBSD$"); #if !defined(__amd64__) #define BIOS_PADDRTOVADDR(x) (x) #else -#define BIOS_PADDRTOVADDR(x) (((x) - ISA_HOLE_START) + atdevbase) +#define BIOS_PADDRTOVADDR(x) ((x) + KERNBASE) #endif #endif -- cgit v1.3