mmu_hal_map_region() function
To map a virtual address block to a physical memory block
Arguments
mem_type
physical memory type, see `mmu_target_t`
vaddr
start virtual address to be mapped
paddr
start physical address to be mapped
len
length to be mapped, in bytes
out_len
actual mapped length
Notes
vaddr and paddr should be aligned with the mmu page size, see CONFIG_MMU_PAGE_SIZE
mmu_hal_map_region() is called by 2 functions and calls 8 functions:
![]()
mmu_hal_map_region()
mmu_hal_map_region() reads 2 variables:
![]()
mmu_hal_map_region()