exo: implement start of mariko fatal handler

This commit is contained in:
Michael Scire authored and SciresM committed 2020-11-18 15:08:44 -08:00
1 parent 123ed80dc7
commit 7bcd5c6e3b
28 files changed
+1138 -24

No files matched your search

@@ -36,6 +36,10 @@ namespace ams::exosphere {
R_ABORT_UNLESS(spl::smc::ConvertResult(spl::smc::SetConfig(spl::ConfigItem::ExosphereNeedsReboot, 2)));
}
void ForceRebootToFatalError() {
R_ABORT_UNLESS(spl::smc::ConvertResult(spl::smc::SetConfig(spl::ConfigItem::ExosphereNeedsReboot, 3)));
}
void ForceShutdown() {
R_ABORT_UNLESS(spl::smc::ConvertResult(spl::smc::SetConfig(spl::ConfigItem::ExosphereNeedsShutdown, 1)));
}