Skip to main content

to_sdf

Function to_sdf 

Source
pub fn to_sdf(
    config: &Config,
    tenv: &TyEnv,
) -> Result<SystemDescription, Diagnostics>
Expand description

rast as Microkit’s SDF, with its vaddrs and channel/IRQ ids, and a physical-address patch for each mapping whose .paddr a body reads. A region’s page_count is size / page_size, a PD’s image is {name}.elf, a sync channel sets pp, and the System = composition is ignored: every PD is added anyway.