exo: implement start of mariko fatal handler
This commit is contained in:
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)));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user