refactor: use a more decent physical memory map
[lunaix-os.git] / lunaix-os / arch / i386 / includes / sys / mm / mempart.h
index 33d5c8baec5969ef054998f9728eb296a7707768..3f527636ce9d1a2acb832c544b949b81c754fdb8 100644 (file)
 #define KERNEL_STACK_SIZE 0x100000UL
 #define KERNEL_STACK_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_STACK 0xbfc00000UL
+#define USR_STACK_SIZE 0x400000UL
+#define USR_STACK_END 0xbffffff0UL
+
 #define KERNEL_EXEC 0xc0000000UL
 #define KERNEL_EXEC_SIZE 0x4000000UL
 #define KERNEL_EXEC_END 0xc3ffffffUL