git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A Total Overhaul on the Lunaix's Virtual Memory Model (#26)
[lunaix-os.git]
/
lunaix-os
/
arch
/
i386
/
includes
/
sys
/
mm
/
mempart.h
diff --git
a/lunaix-os/arch/i386/includes/sys/mm/mempart.h
b/lunaix-os/arch/i386/includes/sys/mm/mempart.h
index 3f527636ce9d1a2acb832c544b949b81c754fdb8..d923d45c69a445d6f3d0592f4a9fb21cc6baa604 100644
(file)
--- a/
lunaix-os/arch/i386/includes/sys/mm/mempart.h
+++ b/
lunaix-os/arch/i386/includes/sys/mm/mempart.h
@@
-9,49
+9,49
@@
#define MEM_HUGE 0x400000UL
#define MEM_1G 0x40000000UL
#define MEM_HUGE 0x400000UL
#define MEM_1G 0x40000000UL
-#define K
ERNEL_STACK 0x3
00000UL
-#define K
ERNEL_STACK_SIZE 0x1
00000UL
-#define K
ERNEL_STACK
_END 0x3ffff0UL
+#define K
STACK_AREA 0x1
00000UL
+#define K
STACK_AREA_SIZE 0x3
00000UL
+#define K
STACK_AREA
_END 0x3ffff0UL
#define USR_EXEC 0x400000UL
#define USR_EXEC_SIZE 0x20000000UL
#define USR_EXEC_END 0x203fffffUL
#define USR_MMAP 0x20400000UL
#define USR_EXEC 0x400000UL
#define USR_EXEC_SIZE 0x20000000UL
#define USR_EXEC_END 0x203fffffUL
#define USR_MMAP 0x20400000UL
-#define USR_MMAP_SIZE 0x9f
80
0000UL
-#define USR_MMAP_END 0xbf
bf
ffffUL
+#define USR_MMAP_SIZE 0x9f
bc
0000UL
+#define USR_MMAP_END 0xbf
fb
ffffUL
-#define USR_STACK 0xbf
c0
0000UL
-#define USR_STACK_SIZE 0x40000
0
UL
+#define USR_STACK 0xbf
fc
0000UL
+#define USR_STACK_SIZE 0x40000UL
#define USR_STACK_END 0xbffffff0UL
#define USR_STACK_END 0xbffffff0UL
-#define KERNEL_
EXEC
0xc0000000UL
-#define KERNEL_
EXEC
_SIZE 0x4000000UL
-#define KERNEL_
EXEC
_END 0xc3ffffffUL
+#define KERNEL_
IMG
0xc0000000UL
+#define KERNEL_
IMG
_SIZE 0x4000000UL
+#define KERNEL_
IMG
_END 0xc3ffffffUL
-#define VMS_MOUNT_1 0xc4000000UL
-#define VMS_MOUNT_1_SIZE 0x400000UL
-#define VMS_MOUNT_1_END 0xc43fffffUL
-
-#define PG_MOUNT_1 0xc4400000UL
+#define PG_MOUNT_1 0xc4000000UL
#define PG_MOUNT_1_SIZE 0x1000UL
#define PG_MOUNT_1_SIZE 0x1000UL
-#define PG_MOUNT_1_END 0xc4
4
00fffUL
+#define PG_MOUNT_1_END 0xc4
0
00fffUL
-#define PG_MOUNT_2 0xc4
4
01000UL
+#define PG_MOUNT_2 0xc4
0
01000UL
#define PG_MOUNT_2_SIZE 0x1000UL
#define PG_MOUNT_2_SIZE 0x1000UL
-#define PG_MOUNT_2_END 0xc4
4
01fffUL
+#define PG_MOUNT_2_END 0xc4
0
01fffUL
-#define PG_MOUNT_3 0xc4
4
02000UL
+#define PG_MOUNT_3 0xc4
0
02000UL
#define PG_MOUNT_3_SIZE 0x1000UL
#define PG_MOUNT_3_SIZE 0x1000UL
-#define PG_MOUNT_3_END 0xc4
4
02fffUL
+#define PG_MOUNT_3_END 0xc4
0
02fffUL
-#define PG_MOUNT_4 0xc4
4
03000UL
+#define PG_MOUNT_4 0xc4
0
03000UL
#define PG_MOUNT_4_SIZE 0x1000UL
#define PG_MOUNT_4_SIZE 0x1000UL
-#define PG_MOUNT_4_END 0xc4
4
03fffUL
+#define PG_MOUNT_4_END 0xc4
0
03fffUL
-#define VMAP 0xc4
8
00000UL
+#define VMAP 0xc4
4
00000UL
#define VMAP_SIZE 0x3b400000UL
#define VMAP_SIZE 0x3b400000UL
-#define VMAP_END 0xffbfffffUL
+#define VMAP_END 0xff7fffffUL
+
+#define VMS_MOUNT_1 0xff800000UL
+#define VMS_MOUNT_1_SIZE 0x400000UL
+#define VMS_MOUNT_1_END 0xffbfffffUL
#define PD_REF 0xffc00000UL
#define PD_REF_SIZE 0x400000UL
#define PD_REF 0xffc00000UL
#define PD_REF_SIZE 0x400000UL