summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include/vmparam.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-09-17 16:52:07 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-09-17 16:52:07 +0000
commit83a5efcde20357c8fe0a60297557f47a951e2ed3 (patch)
tree97be3c7586d0e853d1e9ea7a154e7a14ac1f521c /sys/arch/i386/include/vmparam.h
parent6f623063536af3e26395860b13502e5c9d6d631b (diff)
grown i386 kvm to 512MB
Diffstat (limited to 'sys/arch/i386/include/vmparam.h')
-rw-r--r--sys/arch/i386/include/vmparam.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/sys/arch/i386/include/vmparam.h b/sys/arch/i386/include/vmparam.h
index 5ead15c680e..8edc46f4a4c 100644
--- a/sys/arch/i386/include/vmparam.h
+++ b/sys/arch/i386/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.11 1999/02/26 04:17:20 art Exp $ */
+/* $OpenBSD: vmparam.h,v 1.12 1999/09/17 16:52:06 deraadt Exp $ */
/* $NetBSD: vmparam.h,v 1.15 1994/10/27 04:16:34 cgd Exp $ */
/*-
@@ -132,14 +132,10 @@
/* user/kernel map constants */
#define VM_MIN_ADDRESS ((vm_offset_t)0)
-/* PTDPTDI<<PDSHIFT - USPACE */
-#define VM_MAXUSER_ADDRESS ((vm_offset_t)0xefbfe000)
-/* PTDPTDI<<PDSHIFT + PTDPTDI<<PGSHIFT */
-#define VM_MAX_ADDRESS ((vm_offset_t)0xeffdf000)
-/* KPTDI<<PDSHIFT */
-#define VM_MIN_KERNEL_ADDRESS ((vm_offset_t)0xf0000000)
-/* APTDPTDI<<PDSHIFT */
-#define VM_MAX_KERNEL_ADDRESS ((vm_offset_t)0xffc00000)
+#define VM_MAXUSER_ADDRESS ((vm_offset_t)((PTDPTDI<<PDSHIFT) - USPACE))
+#define VM_MAX_ADDRESS ((vm_offset_t)((PTDPTDI<<PDSHIFT) + (PTDPTDI<<PGSHIFT)))
+#define VM_MIN_KERNEL_ADDRESS ((vm_offset_t)KERNBASE)
+#define VM_MAX_KERNEL_ADDRESS ((vm_offset_t)(APTDPTDI<<PDSHIFT))
/* virtual sizes (bytes) for various kernel submaps */
#define VM_MBUF_SIZE (NMBCLUSTERS*MCLBYTES)