type ParsedDt = ParsedDeviceTree<MAX_PARTITION_RAM_RANGES, MAX_CPU_COUNT, COMMAND_LINE_SIZE, MAX_ENTROPY_SIZE>;Aliased Type§
struct ParsedDt {Show 15 fields
pub device_tree_size: usize,
pub memory: ArrayVec<MemoryEntry, 1024>,
pub boot_cpuid_phys: u32,
pub cpus: ArrayVec<CpuEntry, 2048>,
pub vmbus_vtl0: Option<VmbusInfo>,
pub vmbus_vtl2: Option<VmbusInfo>,
pub command_line: ArrayString<8192>,
pub com3_serial: bool,
pub memory_allocation_mode: MemoryAllocationMode,
pub entropy: Option<ArrayVec<u8, 256>>,
pub device_dma_page_count: Option<u64>,
pub nvme_keepalive: bool,
pub vtl0_alias_map: Option<u64>,
pub gic: Option<GicInfo>,
pub pmu_gsiv: Option<u32>,
}Fields§
§device_tree_size: usizeTotal size of the parsed device tree, in bytes.
memory: ArrayVec<MemoryEntry, 1024>Parsed sorted memory ranges from the device tree.
boot_cpuid_phys: u32Boot cpu physical id. On X64, this is the APIC id of the BSP.
cpus: ArrayVec<CpuEntry, 2048>Information for enabled cpus.
vmbus_vtl0: Option<VmbusInfo>VMBUS info for VTL0.
vmbus_vtl2: Option<VmbusInfo>VMBUS info for VTL2.
command_line: ArrayString<8192>Command line contained in the /chosen node.
FUTURE: return more information from the chosen node.
com3_serial: boolIs a com3 device present
memory_allocation_mode: MemoryAllocationModeThe vtl2 memory allocation mode OpenHCL should use for memory.
entropy: Option<ArrayVec<u8, 256>>Entropy from the host to be used by the OpenHCL kernel
device_dma_page_count: Option<u64>The number of pages the host has provided as a hint for device dma.
This is used to allocate a persistent VTL2 pool on non-isolated guests, to allow devices to stay alive during a servicing operation.
nvme_keepalive: boolIndicates that Host does support NVMe keep-alive.
vtl0_alias_map: Option<u64>The physical address of the VTL0 alias mapping, if one is configured.
gic: Option<GicInfo>GIC information, on AArch64.
pmu_gsiv: Option<u32>PMU GSIV, if available, on AArch64.