summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/pmap.h
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1999-03-11 18:28:46 +0000
committerdg <dg@FreeBSD.org>1999-03-11 18:28:46 +0000
commit2d2ba9f6b47182b2d48081144cc208dca019a94e (patch)
tree8520c5f424364269c239a67b1e36632f1965afac /sys/i386/include/pmap.h
parent46e4df1a8bd7440771e2cea258c9bb659c670008 (diff)
downloadFreeBSD-src-2d2ba9f6b47182b2d48081144cc208dca019a94e.zip
FreeBSD-src-2d2ba9f6b47182b2d48081144cc208dca019a94e.tar.gz
Increased kernel virtual address space to 1GB. NOTE: You MUST have fixed
bootblocks in order to boot the kernel after this! Also note that this change breaks BSDI BSD/OS compatibility. Also increased default NKPT to 17 so that FreeBSD can boot on machines with >=2GB of RAM. Booting on machines with exactly 4GB requires other patches, not included.
Diffstat (limited to 'sys/i386/include/pmap.h')
-rw-r--r--sys/i386/include/pmap.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/i386/include/pmap.h b/sys/i386/include/pmap.h
index 8acd6b8..79350a5 100644
--- a/sys/i386/include/pmap.h
+++ b/sys/i386/include/pmap.h
@@ -42,7 +42,7 @@
*
* from: hp300: @(#)pmap.h 7.2 (Berkeley) 12/16/90
* from: @(#)pmap.h 7.4 (Berkeley) 5/12/91
- * $Id: pmap.h,v 1.57 1998/11/24 20:25:52 eivind Exp $
+ * $Id: pmap.h,v 1.58 1999/03/02 16:20:39 dg Exp $
*/
#ifndef _MACHINE_PMAP_H_
@@ -88,13 +88,13 @@
#define VADDR(pdi, pti) ((vm_offset_t)(((pdi)<<PDRSHIFT)|((pti)<<PAGE_SHIFT)))
#ifndef NKPT
-#define NKPT 9 /* actual number of kernel page tables */
+#define NKPT 17 /* actual number of kernel page tables */
#endif
#ifndef NKPDE
#ifdef SMP
-#define NKPDE 62 /* addressable number of page tables/pde's */
+#define NKPDE 254 /* addressable number of page tables/pde's */
#else
-#define NKPDE 63 /* addressable number of page tables/pde's */
+#define NKPDE 255 /* addressable number of page tables/pde's */
#endif /* SMP */
#endif
OpenPOWER on IntegriCloud