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

@@ -304,11 +304,20 @@ namespace ams::secmon::smc {
case UserRebootType_ToPayload:
PerformUserRebootToPayload();
break;
case UserRebootType_ToFatalError:
PerformUserRebootToFatalError();
break;
default:
return SmcResult::InvalidArgument;
}
} else /* if (soc_type == fuse::SocType_Mariko) */ {
return SmcResult::NotImplemented;
switch (static_cast<UserRebootType>(args.r[3])) {
case UserRebootType_ToFatalError:
PerformUserRebootToFatalError();
break;
default:
return SmcResult::InvalidArgument;
}
}
break;
case ConfigItem::ExosphereNeedsShutdown: