Go to the source code of this file.
|
#define | MMU_TTBR0_ENT_COUNT 0x400 |
|
#define | MMU_TTBR1_ENT_COUNT 0x1000 |
|
#define | MMU_L1_ENT_COUNT 0x400 |
|
#define | MMU_L2_ENT_COUNT 0x100 |
|
#define | mmu_map_section(tt, pa, va, user, ro, xn, device, global) mmu_map_anysection(tt, pa, va, user, ro, xn, device, global, 0) |
|
#define | mmu_map_supersection(tt, pa, va, user, ro, xn, device, global) mmu_map_anysection(tt, pa, va, user, ro, xn, device, global, 1) |
|
|
mmu_sd_pt_t | mmu_make_page_table (void *ptbaddr) |
|
mmu_sd_sp_t | mmu_make_small_page (void *spbaddr, bool_t user, bool_t ro, bool_t xn, bool_t device, bool_t global) |
|
unsigned | mmu_make_ttbr (void *base, mmu_rgn_t irgn, mmu_rgn_t rgn, bool_t shareable, bool_t not_outer_shareable) |
|
void | mmu_map_small_page (unsigned int *tt, void *pa, void *va, bool_t user, bool_t ro, bool_t xn, bool_t device, bool_t global) |
|
void | mmu_map_anysection (unsigned int *tt, void *pa, void *va, bool_t user, bool_t ro, bool_t xn, bool_t device, bool_t global, int super) |
|
void | mmu_init (void) |
|
void | mmu_debug (unsigned *tt) |
|
mmu_sd_sp_t | mmu_virt_to_sp (unsigned pd, unsigned va) |
|
unsigned | mmu_virt_to_phys (unsigned pd, unsigned va) |
|
void | cache_and_mmu_disable () |
|
void | cache_and_mmu_enable () |
|
◆ MMU_L1_ENT_COUNT
#define MMU_L1_ENT_COUNT 0x400 |
◆ MMU_L2_ENT_COUNT
#define MMU_L2_ENT_COUNT 0x100 |
◆ mmu_map_section
#define mmu_map_section |
( |
|
tt, |
|
|
|
pa, |
|
|
|
va, |
|
|
|
user, |
|
|
|
ro, |
|
|
|
xn, |
|
|
|
device, |
|
|
|
global |
|
) |
| mmu_map_anysection(tt, pa, va, user, ro, xn, device, global, 0) |
◆ mmu_map_supersection
#define mmu_map_supersection |
( |
|
tt, |
|
|
|
pa, |
|
|
|
va, |
|
|
|
user, |
|
|
|
ro, |
|
|
|
xn, |
|
|
|
device, |
|
|
|
global |
|
) |
| mmu_map_anysection(tt, pa, va, user, ro, xn, device, global, 1) |
◆ MMU_TTBR0_ENT_COUNT
#define MMU_TTBR0_ENT_COUNT 0x400 |
◆ MMU_TTBR1_ENT_COUNT
#define MMU_TTBR1_ENT_COUNT 0x1000 |
◆ mmu_rgn_t
◆ mmu_sd_pt_t
◆ mmu_sd_sec_t
◆ mmu_sd_sp_t
◆ mmu_sd_ssec_t
◆ mmu_rgn_e
Enumerator |
---|
RGN_NOCACHE | |
RGN_CACHE_WBACK_WALLOC | |
RGN_CACHE_WTHROUGH | |
RGN_CACHE_WBACK_NOALLOC | |
◆ cache_and_mmu_disable()
void cache_and_mmu_disable |
( |
| ) |
|
◆ cache_and_mmu_enable()
void cache_and_mmu_enable |
( |
| ) |
|
◆ mmu_debug()
void mmu_debug |
( |
unsigned * |
tt | ) |
|
◆ mmu_init()
◆ mmu_make_page_table()
◆ mmu_make_small_page()
◆ mmu_make_ttbr()
◆ mmu_map_anysection()
◆ mmu_map_small_page()
◆ mmu_virt_to_phys()
unsigned mmu_virt_to_phys |
( |
unsigned |
pd, |
|
|
unsigned |
va |
|
) |
| |
◆ mmu_virt_to_sp()
mmu_sd_sp_t mmu_virt_to_sp |
( |
unsigned |
pd, |
|
|
unsigned |
va |
|
) |
| |