mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-08-10 17:39:24 +02:00
fusee_cpp: implement warmboot firmware load
This commit is contained in:
parent
64da919d6b
commit
93c773ad54
@ -113,6 +113,7 @@ namespace ams::fuse {
|
|||||||
|
|
||||||
SocType GetSocType();
|
SocType GetSocType();
|
||||||
int GetExpectedFuseVersion(TargetFirmware target_fw);
|
int GetExpectedFuseVersion(TargetFirmware target_fw);
|
||||||
|
int GetFuseVersion();
|
||||||
bool HasRcmVulnerabilityPatch();
|
bool HasRcmVulnerabilityPatch();
|
||||||
|
|
||||||
bool IsOdmProductionMode();
|
bool IsOdmProductionMode();
|
||||||
|
@ -394,6 +394,10 @@ namespace ams::fuse {
|
|||||||
return GetExpectedFuseVersionImpl(target_fw);
|
return GetExpectedFuseVersionImpl(target_fw);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int GetFuseVersion() {
|
||||||
|
return util::PopCount(GetCommonOdmWord(7));
|
||||||
|
}
|
||||||
|
|
||||||
bool HasRcmVulnerabilityPatch() {
|
bool HasRcmVulnerabilityPatch() {
|
||||||
/* Only check for RCM bug patch once, and cache our result. */
|
/* Only check for RCM bug patch once, and cache our result. */
|
||||||
if (!g_checked_for_rcm_bug_patch) {
|
if (!g_checked_for_rcm_bug_patch) {
|
||||||
|
Loading…
Reference in New Issue
Block a user