Support to multi-threading and pthread interface (POSIX.1-2008) (#23)
[lunaix-os.git] / lunaix-os / arch / i386 / includes / sys / mm / mempart.h
index 33d5c8baec5969ef054998f9728eb296a7707768..0ffaad1393f533dd7a0fbcb78e07e77b8ce02d7b 100644 (file)
@@ -9,9 +9,21 @@
 #define MEM_HUGE 0x400000UL
 #define MEM_1G 0x40000000UL
 
-#define KERNEL_STACK 0x300000UL
-#define KERNEL_STACK_SIZE 0x100000UL
-#define KERNEL_STACK_END 0x3ffff0UL
+#define KSTACK_AREA 0x100000UL
+#define KSTACK_AREA_SIZE 0x300000UL
+#define KSTACK_AREA_END 0x3ffff0UL
+
+#define USR_EXEC 0x400000UL
+#define USR_EXEC_SIZE 0x20000000UL
+#define USR_EXEC_END 0x203fffffUL
+
+#define USR_MMAP 0x20400000UL
+#define USR_MMAP_SIZE 0x9fbc0000UL
+#define USR_MMAP_END 0xbffbffffUL
+
+#define USR_STACK 0xbffc0000UL
+#define USR_STACK_SIZE 0x40000UL
+#define USR_STACK_END 0xbffffff0UL
 
 #define KERNEL_EXEC 0xc0000000UL
 #define KERNEL_EXEC_SIZE 0x4000000UL