ld-tool portability fix: MacOS build experience
[lunaix-os.git] / lunaix-os / arch / generic / includes / sys / mm / mempart.h
1 #ifndef __LUNAIX_ARCH_MEMPART_H
2 #define __LUNAIX_ARCH_MEMPART_H
3
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
9
10 #define END_POINT(name) (name + name##_SIZE - 1)
11
12 #define KSTACK_AREA 0
13 #define KSTACK_AREA_SIZE 0
14 #define KSTACK_AREA_END END_POINT(KSTACK_AREA)
15
16 #define USR_EXEC 0
17 #define USR_EXEC_SIZE 0
18 #define USR_EXEC_END END_POINT(USR_EXEC)
19
20 #define USR_MMAP 0
21 #define USR_MMAP_SIZE 0
22 #define USR_MMAP_END END_POINT(USR_MMAP)
23
24 #define USR_STACK 0
25 #define USR_STACK_SIZE 0
26 #define USR_STACK_END END_POINT(USR_STACK)
27
28 #define KERNEL_IMG 0
29 #define KERNEL_IMG_SIZE 0
30 #define KERNEL_IMG_END END_POINT(KERNEL_IMG)
31
32 #define PG_MOUNT_1 0
33 #define PG_MOUNT_1_SIZE 0
34 #define PG_MOUNT_1_END END_POINT(PG_MOUNT_1)
35
36 #define PG_MOUNT_2 0
37 #define PG_MOUNT_2_SIZE 0
38 #define PG_MOUNT_2_END END_POINT(PG_MOUNT_2)
39
40 #define PG_MOUNT_3 0
41 #define PG_MOUNT_3_SIZE 0
42 #define PG_MOUNT_3_END END_POINT(PG_MOUNT_3)
43
44 #define PG_MOUNT_4 0
45 #define PG_MOUNT_4_SIZE 0
46 #define PG_MOUNT_4_END END_POINT(PG_MOUNT_4)
47
48 #define PG_MOUNT_VAR 0
49 #define PG_MOUNT_VAR_SIZE 0
50 #define PG_MOUNT_VAR_END END_POINT(PG_MOUNT_VAR)
51
52 #define VMAP 0
53 #define VMAP_SIZE 0
54 #define VMAP_END END_POINT(VMAP)
55
56 #define VMS_MOUNT_1 0
57 #define VMS_MOUNT_1_SIZE 0
58 #define VMS_MOUNT_1_END END_POINT(VMS_MOUNT_1)
59
60 #endif