Function ruspiro_mmu::initialize[][src]

pub unsafe fn initialize(core: u32, vc_mem_start: u32, vc_mem_size: u32)

Initialize the MMU. This configures an initial 1:1 mapping accross the whole available memory of the Raspberry Pi. Only the memory region from 0x3F00_0000 to 0x4002_0000 is configured as device memory as this is the area the memory mapped peripherals and the core mailboxes are located at.

Safety

The call to this function is safe when executed as part of the initial setup of the Raspberry Pi kernel and is called only once for each core.