ARM Build (doesn't compile yet)
[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 // Page Blocks are 12-bits wide (12 address bits used)
11 // Hence, the table is 16KiB large (and must be so aligned)
12 // and each block addresses 1MiB of data
13
14 #define MM_KHEAP_BASE   0x80800000      // 8MiB of kernel code
15 #define MM_KHEAP_MAX    0xC0000000      // 1GiB of kernel heap
16
17 #define MM_FRACTAL      0xFFE00000      // 2nd last block
18
19 #endif

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