Kernel/armv7 - Implementing MM_Clone and fixing MMU errors
[tpg/acess2.git] / Kernel / arch / armv7 / include / mm_virt.h
index ef3de83..1228998 100644 (file)
@@ -5,7 +5,7 @@
 #ifndef _MM_VIRT_H_
 #define _MM_VIRT_H_
 
-#define MM_KSTACK_SIZE 0x10000
+#include "options.h"
 
 #define MM_USER_MIN    0x00001000
 #define USER_LIB_MAX   0x70000000
@@ -13,7 +13,7 @@
 #define MM_KSTACK_END  0x7F000000
 #define MM_PPD_HANDLES 0x7F800000
 #define MM_TABLE1USER  0x7FC00000      // 2 GiB - 4 MiB
-#define MM_TABLE0USER  0x7FEFE000      // 2 GiB - 2 MiB - 2 pages
+#define MM_TABLE0USER  0x7FDFC000      // 2 GiB - 2 MiB - 4 pages
 
 // Page Blocks are 12-bits wide (12 address bits used)
 // Hence, the table is 16KiB large (and must be so aligned)

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