add asm headers and linker scripts for aarch64
[lunaix-os.git] / lunaix-os / arch / aarch64 / includes / asm / aa64_mmu.h
1 #ifndef __LUNAIX_AA64_MMU_H
2 #define __LUNAIX_AA64_MMU_H
3
4 #if    defined(CONFIG_AA64_PAGE_GRAN_4K)
5 #define _MMU_TG    0b01
6 #elif  defined(CONFIG_AA64_PAGE_GRAN_16K)
7 #define _MMU_TG    0b10
8 #elif  defined(CONFIG_AA64_PAGE_GRAN_64K)
9 #define _MMU_TG    0b11
10 #endif
11
12 #if CONFIG_AA_OA_SIZE == 52
13 #define _MMU_USE_OA52
14 #endif
15
16 #endif /* __LUNAIX_AA64_MMU_H */