summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2009-05-31 19:41:58 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2009-05-31 19:41:58 +0000
commitb4108dce4550579f19e14e8dea7833d6fe8b7750 (patch)
treee486103b6d164f41a40783eb2fa135b8f46b82e4 /sys/arch
parentcb508df715d4b487388a04cd08f0fd1556b5ca85 (diff)
Make iomem_ex cover the complete (48-bit) physical address space. Makes
bigmem kernels work again. ok oga@, ariane@.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/amd64/bus_space.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/bus_space.c b/sys/arch/amd64/amd64/bus_space.c
index 6cff8bffc57..921f754467b 100644
--- a/sys/arch/amd64/amd64/bus_space.c
+++ b/sys/arch/amd64/amd64/bus_space.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus_space.c,v 1.13 2009/03/26 19:04:56 oga Exp $ */
+/* $OpenBSD: bus_space.c,v 1.14 2009/05/31 19:41:57 kettenis Exp $ */
/* $NetBSD: bus_space.c,v 1.2 2003/03/14 18:47:53 christos Exp $ */
/*-
@@ -81,7 +81,7 @@ x86_bus_space_init(void)
ioport_ex = extent_create("ioport", 0x0, 0xffff, M_DEVBUF,
(caddr_t)ioport_ex_storage, sizeof(ioport_ex_storage),
EX_NOCOALESCE|EX_NOWAIT);
- iomem_ex = extent_create("iomem", 0x0, 0xffffffff, M_DEVBUF,
+ iomem_ex = extent_create("iomem", 0x0, 0xffffffffffff, M_DEVBUF,
(caddr_t)iomem_ex_storage, sizeof(iomem_ex_storage),
EX_NOCOALESCE|EX_NOWAIT);
}