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: u32
A tag that identifies this struct as the boot log (‘BLOG’).
chip_version: u64
The chip version (a git hash prefix from the ROM).
rom_ext_slot: BootSlot
The boot slot the ROM chose to boot the ROM_EXT.
rom_ext_major: u32
The ROM_EXT major version number.
rom_ext_minor: u32
The ROM_EXT minor version number.
rom_ext_size: u32
The ROM_EXT size in bytes.
rom_ext_nonce: u64
The ROM_EXT nonce (a value used to prevent replay of signed commands).
bl0_slot: BootSlot
The boot slot the ROM_EXT chose to boot the owner firmware.
ownership_state: OwnershipState
The chip’s ownership state.
reserved: [u32; 13]
Reserved for future use.
Implementations§
Trait Implementations§
Source§impl Annotate for &BootLog
impl Annotate for &BootLog
fn format(&self, variant: Option<&str>, field: &MemberId<'_>) -> Option<Format>
fn comment(&self, variant: Option<&str>, field: &MemberId<'_>) -> Option<String>
fn as_annotate(&self) -> Option<&dyn Annotate>
fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
Source§impl Annotate for BootLog
impl Annotate for BootLog
fn format(&self, _variant: Option<&str>, field: &MemberId<'_>) -> Option<Format>
fn comment( &self, _variant: Option<&str>, field: &MemberId<'_>, ) -> Option<String>
fn as_annotate(&self) -> Option<&dyn Annotate>
fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
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§
§impl<T> Annotate for T
impl<T> Annotate for T
default fn format( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<Format>
default fn comment( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<String>
default fn as_annotate(&self) -> Option<&dyn Annotate>
default fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
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