Kernel - More work on ARM port
[tpg/acess2.git] / Kernel / arch / arm7 / include / mm_virt.h
1 /*
2  * Acess2
3  * ARM7 Virtual Memory Manager Header
4  */
5 #ifndef _MM_VIRT_H_
6 #define _MM_VIRT_H_
7
8 #define KERNEL_BASE     0x80000000      // 2GiB
9
10 #define MM_USER_MIN     0x00001000
11 #define USER_LIB_MAX    0x7F800000
12 #define MM_PPD_VFS      0x7F800000
13
14 // Page Blocks are 12-bits wide (12 address bits used)
15 // Hence, the table is 16KiB large (and must be so aligned)
16 // and each block addresses 1MiB of data
17
18 #define MM_KHEAP_BASE   0x80800000      // 8MiB of kernel code
19 #define MM_KHEAP_MAX    0xC0000000      // 1GiB of kernel heap
20
21 #define MM_MODULE_MIN   0xC0000000
22 #define MM_MODULE_MAX   0xD0000000
23
24 #define MM_KERNEL_VFS   0xFF800000      // 
25 #define MM_FRACTAL      0xFFE00000      // 2nd last block
26
27 #endif

UCC git Repository :: git.ucc.asn.au