move the generic arm kernel & exec to arm-native
[AROS.git] / arch / arm-native / kernel / mmu.h
blob601668795052190b2f95dab16fcd984c52416995
1 /*
2 Copyright © 2013, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #define ENABLE_MMU (1 << 0)
7 #define ENABLE_D_CACHE (1 << 2)
8 #define ENABLE_I_CACHE (1 << 12)
10 #define PAGE_TRANSLATIONFAULT 0
11 #define PAGE_SECONDLEVEL (1 << 0)
12 #define PAGE_SECTION (1 << 1)
13 #define PAGE_SUPERSECTION (1 << 18) | PAGE_SECTION
15 #define PAGE_B_BIT (1 << 2)
16 #define PAGE_C_BIT (1 << 3)
17 #define PAGE_XN_BIT (1 << 4)
18 #define PAGE_DOM_SHIFT 5
19 //#define PAGE_P_BIT (1 << 9)
20 #define PAGE_FL_AP_SHIFT 10
21 #define PAGE_TEX_SHIFT 12
22 #define PAGE_FL_APX_BIT (1 << 10)
23 #define PAGE_FL_S_BIT (1 << 16)
24 #define PAGE_NG_BIT (1 << 15)
25 #define PAGE_NS_BIT (1 << 19)
27 #define PAGE_SL_AP_SHIFT 4
28 #define PAGE_SL_APX_BIT (1 << 9)
29 #define PAGE_SL_S_BIT (1 << 10)