boot: refactor battery checking to use new powctl apis

This commit is contained in:
Michael Scire committed 2020-11-08 04:16:50 -08:00
1 parent cd7d7894f1
commit e93c3cbf58
44 files changed
+1426 -1554

No files matched your search

@@ -150,6 +150,15 @@ namespace ams::spl {
};
};
static_assert(sizeof(BootReasonValue) == sizeof(u32), "BootReasonValue definition!");
enum BootReason {
BootReason_Unknown = 0,
BootReason_AcOk = 1,
BootReason_OnKey = 2,
BootReason_RtcAlarm1 = 3,
BootReason_RtcAlarm2 = 4,
};
#pragma pack(push, 1)
struct AesKey {