boot: Implement DetectBootReason

This commit is contained in:
Michael Scire committed 2019-05-02 19:33:12 -07:00
1 parent fe0d41623c
commit 93fb060fac
9 files changed
+317 -2

No files matched your search

+1 -1
View File
@@ -65,7 +65,7 @@ struct AsyncOperationKey {
struct BootReasonValue {
u8 power_intr;
u8 rtc_intr;
u8 _0x3;
u8 nv_erc;
u8 boot_reason;
};
static_assert(sizeof(BootReasonValue) == sizeof(u32), "BootReasonValue definition!");