#[repr(C)]pub struct FdtHeader {
pub magic: Fdt32,
pub totalsize: Fdt32,
pub off_dt_struct: Fdt32,
pub off_dt_strings: Fdt32,
pub off_mem_rsvmap: Fdt32,
pub version: Fdt32,
pub last_comp_version: Fdt32,
pub boot_cpuid_phys: Fdt32,
pub size_dt_strings: Fdt32,
pub size_dt_struct: Fdt32,
}
Fields§
§magic: Fdt32
FDT header magic
totalsize: Fdt32
Total size in bytes of the FDT structure
off_dt_struct: Fdt32
Offset in bytes from the start of the header to the structure block
off_dt_strings: Fdt32
Offset in bytes from the start of the header to the strings block
off_mem_rsvmap: Fdt32
Offset in bytes from the start of the header to the memory reservation block
version: Fdt32
FDT version
last_comp_version: Fdt32
Last compatible FDT version
boot_cpuid_phys: Fdt32
System boot CPU ID
size_dt_strings: Fdt32
Length in bytes of the strings block
size_dt_struct: Fdt32
Length in bytes of the struct block
Implementations§
Trait Implementations§
impl Copy for FdtHeader
Auto Trait Implementations§
impl Freeze for FdtHeader
impl RefUnwindSafe for FdtHeader
impl Send for FdtHeader
impl Sync for FdtHeader
impl Unpin for FdtHeader
impl UnwindSafe for FdtHeader
Blanket Implementations§
Source§impl<T> Background for T
impl<T> Background for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more