PERFORCE change 28464 for review
Peter Wemm
peter at FreeBSD.org
Mon Apr 7 17:16:57 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=28464
Change 28464 by peter at peter_daintree on 2003/04/07 17:16:42
collect page table geometry defines together with the others
Affected files ...
.. //depot/projects/hammer/sys/x86_64/include/param.h#10 edit
.. //depot/projects/hammer/sys/x86_64/include/pmap.h#15 edit
Differences ...
==== //depot/projects/hammer/sys/x86_64/include/param.h#10 (text+ko) ====
@@ -111,8 +111,9 @@
#define NBPML4T (1ul<<PML4SHIFT)/* bytes/page map lev4 table */
#define PML4MASK (NBPML4T-1)
-#define NPGPTD 4
-#define PDRSHIFT 21 /* LOG2(NBPDR) */
+#define NKPML4E 1 /* addressable number of page tables/pde's */
+#define NKPDPE 1 /* addressable number of page tables/pde's */
+#define NPGPTD 4
#define NBPTD (NPGPTD<<PAGE_SHIFT)
#define NPDEPTD (NBPTD/(sizeof (pd_entry_t)))
==== //depot/projects/hammer/sys/x86_64/include/pmap.h#15 (text+ko) ====
@@ -108,8 +108,6 @@
#ifndef NKPDE
#define NKPDE (KVA_PAGES) /* number of page tables/pde's */
#endif
-#define NKPML4E (1) /* addressable number of page tables/pde's */
-#define NKPDPE (1) /* addressable number of page tables/pde's */
/*
* The *PTDI values control the layout of virtual memory
More information about the p4-projects
mailing list