Struct device_tree::DeviceTree
[−]
[src]
pub struct DeviceTree { pub version: u32, pub boot_cpuid_phys: u32, pub reserved: Vec<(u64, u64)>, pub root: Node, }
Device tree structure.
Fields
version: u32
Version, as indicated by version header
boot_cpuid_phys: u32
The number of the CPU the system boots from
reserved: Vec<(u64, u64)>
A list of tuples of (offset, length)
, indicating reserved memory
root: Node
The root node.
Methods
impl DeviceTree
[src]
Load a device tree from a memory buffer.