1 #ifndef __LUNAIX_ARCH_MEMPART_H
2 #define __LUNAIX_ARCH_MEMPART_H
4 #define MEM_PAGE 0x1000UL
5 #define MEM_1M 0x100000UL
6 #define MEM_4M 0x400000UL
7 #define MEM_HUGE 0x400000UL
8 #define MEM_1G 0x40000000UL
10 #define END_POINT(name) (name + name##_SIZE - 1)
13 #define KSTACK_AREA_SIZE 0
14 #define KSTACK_AREA_END END_POINT(KSTACK_AREA)
17 #define USR_EXEC_SIZE 0
18 #define USR_EXEC_END END_POINT(USR_EXEC)
21 #define USR_MMAP_SIZE 0
22 #define USR_MMAP_END END_POINT(USR_MMAP)
25 #define USR_STACK_SIZE 0
26 #define USR_STACK_END END_POINT(USR_STACK)
29 #define KERNEL_IMG_SIZE 0
30 #define KERNEL_IMG_END END_POINT(KERNEL_IMG)
33 #define PG_MOUNT_1_SIZE 0
34 #define PG_MOUNT_1_END END_POINT(PG_MOUNT_1)
37 #define PG_MOUNT_2_SIZE 0
38 #define PG_MOUNT_2_END END_POINT(PG_MOUNT_2)
41 #define PG_MOUNT_3_SIZE 0
42 #define PG_MOUNT_3_END END_POINT(PG_MOUNT_3)
45 #define PG_MOUNT_4_SIZE 0
46 #define PG_MOUNT_4_END END_POINT(PG_MOUNT_4)
48 #define PG_MOUNT_VAR 0
49 #define PG_MOUNT_VAR_SIZE 0
50 #define PG_MOUNT_VAR_END END_POINT(PG_MOUNT_VAR)
54 #define VMAP_END END_POINT(VMAP)
57 #define VMS_MOUNT_1_SIZE 0
58 #define VMS_MOUNT_1_END END_POINT(VMS_MOUNT_1)