]> Zhao Yanbai Git Server - minix.git/commitdiff
large page size constant.
authorBen Gras <ben@minix3.org>
Tue, 12 May 2009 09:23:27 +0000 (09:23 +0000)
committerBen Gras <ben@minix3.org>
Tue, 12 May 2009 09:23:27 +0000 (09:23 +0000)
include/sys/vm_i386.h

index 8319511b2bb43d2dff8d49f8b0d1e0943a3e2e21..f006db51191c8b31769e95e441c85c8239097721 100644 (file)
@@ -2,7 +2,8 @@
 sys/vm_i386.h
 */
 
-#define I386_PAGE_SIZE 4096
+#define I386_PAGE_SIZE         4096
+#define I386_BIG_PAGE_SIZE     (I386_PAGE_SIZE*I386_VM_PT_ENTRIES)
 
 /* i386 paging constants */
 #define I386_VM_PRESENT        0x001   /* Page is present */