pub struct BootLog {
    pub digest: [u32; 8],
    pub identifier: u32,
    pub chip_version: u64,
    pub rom_ext_slot: BootSlot,
    pub rom_ext_major: u32,
    pub rom_ext_minor: u32,
    pub rom_ext_size: u32,
    pub rom_ext_nonce: u64,
    pub bl0_slot: BootSlot,
    pub ownership_state: OwnershipState,
    pub reserved: [u32; 13],
}Expand description
The BootLog provides information about how the ROM and ROM_EXT booted the chip.
Fields§
§digest: [u32; 8]A SHA256 digest over all other fields in this struct.
identifier: u32A tag that identifies this struct as the boot log (‘BLOG’).
chip_version: u64The chip version (a git hash prefix from the ROM).
rom_ext_slot: BootSlotThe boot slot the ROM chose to boot the ROM_EXT.
rom_ext_major: u32The ROM_EXT major version number.
rom_ext_minor: u32The ROM_EXT minor version number.
rom_ext_size: u32The ROM_EXT size in bytes.
rom_ext_nonce: u64The ROM_EXT nonce (a value used to prevent replay of signed commands).
bl0_slot: BootSlotThe boot slot the ROM_EXT chose to boot the owner firmware.
ownership_state: OwnershipStateThe chip’s ownership state.
reserved: [u32; 13]Reserved for future use.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BootLog
impl RefUnwindSafe for BootLog
impl Send for BootLog
impl Sync for BootLog
impl Unpin for BootLog
impl UnwindSafe for BootLog
Blanket Implementations§
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