Skip to main content

handle_load

Function handle_load 

Source
pub fn handle_load(cpu: &CpuState, addr: u32, plat: &mut dyn Platform) -> u32
Expand description

Handle an MMIO load (read).

Returns 0 for unmapped addresses, which is harmless and consistent with how real hardware behaves on unimplemented registers.