Function memory_aarch64::enable_mmu

source ·
pub fn enable_mmu()
Expand description

Enable the MMU using aarch64 registers

This uses the SCTLR_EL1 register.

When the MMU is disabled, the CPU acts as if a full-address-space identity mapping was active. When it’s enabled, the TTB0_EL1 register is expected to point to a valid page table (using its physical address).