Module dt

Module dt 

Source
Expand description

Parse partition info using the IGVM device tree parameter.

ModulesΒ§

bump_alloc πŸ”’
A simple bump allocator that can be used in the bootloader.
dma_hint πŸ”’
Calculate DMA hint value if not provided by host.

StructsΒ§

PartitionTopology πŸ”’
PersistedPartitionTopology πŸ”’
State derived while constructing the partition topology from persisted state.

EnumsΒ§

DtError
Errors when reading the host device tree.

FunctionsΒ§

add_common_ranges πŸ”’
Add common ranges to AddressSpaceManagerBuilder regardless if creating topology from the host or from saved state.
allocate_vtl2_ram πŸ”’
Allocate VTL2 ram from the partition’s memory map.
calculate_default_mmio_size πŸ”’
init_heap πŸ”’
parse_host_vtl2_ram πŸ”’
Parse VTL2 ram from host provided ranges.
read_persisted_region_header πŸ”’
Read the persisted header from the start of the persisted state region described at file build time. If the magic value is not set, None is returned.
topology_from_host_dt πŸ”’
Read topology from the host provided device tree.
topology_from_persisted_state πŸ”’
Read topology from the persisted state region and protobuf payload.

Type AliasesΒ§

ParsedDt πŸ”’