regression: mmap for fd
[lunaix-os.git] / lunaix-os / includes / lunaix / common.h
index f5a24a7bdab924bd9d286998f7b8217814051823..1ebf15836f509c7bbd0a5fcb8bcb00c636947166 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef __LUNAIX_CONSTANTS_H
 #define __LUNAIX_CONSTANTS_H
 
+#define PG_SIZE_BITS 12
+#define PG_SIZE (1 << PG_SIZE_BITS)
+#define PG_INDEX_BITS 10
+
 #define MEM_1MB 0x100000
 #define MEM_4MB 0x400000