Expand description
This module defines a safe api to access the get_sys_info bootrom function
Structs§
- Boot
Info - Boot diagnostic info as described in 5.4 under the
get_sys_infofunction - Boot
Random - 128 bit random integer generated per boot as reported by
boot_random - Chip
Info - The unqiue identifier for each chip as reported by
chip_info - Flash
DevInfo - Flash device information as reported by
flash_dev_info - OtpCritical
Reg - The value held within the critical register as reported by
otp_critical_register
Enums§
- Boot
Diagnostic Flags - Diagnostic flags reported by the upper and lower words in
BootInfo::boot_diagnostic - Boot
Type - The type of boot that occurred
- CpuInfo
- CPU architectures that might be running as reported by
cpu_info - Flash
DevInfo Size - A struct to represent possible byte sizes that may be reported in
FlashDevInfo - GetSys
Info Flag - Flags that the
get_sys_info/ rom function can take - Partition
Index - Recen boot diagnostic partition
Functions§
- boot_
info - Get diagnostic boot info
- boot_
random - Get a 128-bit random number generated on each boot
- chip_
info - Get the unique identifier for the chip
- cpu_
info - Get the current running CPU’s info
- flash_
dev_ info - Get flash device info in the format of OTP FLASH_DEVINFO
- otp_
critical_ register - Get the value of the OTP critical register