2 * Acess2 x86_64 Architecture Code
4 * This file is published under the terms of the Acess Licence.
5 * See the file COPYING for more details
7 * vmem.h - Virtual Memory Functions & Definitions
12 // === Memory Location Definitions ===
14 * Userland - Lower Half
15 * Kernel land - Upper Half
17 * 0xFFFF8000 00000000 - 0xFFFFFFFF FFFFFFFF 2**47 Kernel Range
18 * 8000 00000000 - 8000 7FFFFFFF 2 GiB Identity Map
19 * 8000 80000000 - 8001 00000000 2 GiB Kernel Heap
20 * 9000 00000000 0 9800 00000000 cbf Module Space
23 #define KERNEL_BASE 0xFFF8000##00000000
24 #define MM_KHEAP_BASE (KERNEL_BASE|0x80000000)
25 #define MM_KHEAP_MAX (KERNEL_BASE|0x1##00000000)