Support to multi-threading and pthread interface (POSIX.1-2008) (#23)
[lunaix-os.git] / lunaix-os / arch / i386 / includes / sys / mm / mempart.h
index 3f527636ce9d1a2acb832c544b949b81c754fdb8..0ffaad1393f533dd7a0fbcb78e07e77b8ce02d7b 100644 (file)
@@ -9,20 +9,20 @@
 #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 0x9f800000UL
-#define USR_MMAP_END 0xbfbfffffUL
+#define USR_MMAP_SIZE 0x9fbc0000UL
+#define USR_MMAP_END 0xbffbffffUL
 
-#define USR_STACK 0xbfc00000UL
-#define USR_STACK_SIZE 0x400000UL
+#define USR_STACK 0xbffc0000UL
+#define USR_STACK_SIZE 0x40000UL
 #define USR_STACK_END 0xbffffff0UL
 
 #define KERNEL_EXEC 0xc0000000UL