mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-17 16:44:22 -04:00
exo2: suspend fixes (sleep/wake now works on hardware)
This commit is contained in:
parent
2fb363dcf0
commit
95d38a1a94
10 changed files with 77 additions and 18 deletions
|
@ -695,7 +695,7 @@ namespace ams::secmon {
|
|||
|
||||
/* Setup sctlr_el2. */
|
||||
{
|
||||
util::BitPack64 sctlr = { hw::SctlrEl2::Res1 }; // 0x30C5083
|
||||
util::BitPack64 sctlr = { hw::SctlrEl2::Res1 };
|
||||
|
||||
sctlr.Set<hw::SctlrEl2::M>(0); /* Globally disable the MMU. */
|
||||
sctlr.Set<hw::SctlrEl2::A>(0); /* Disable alignment fault checking. */
|
||||
|
@ -1087,6 +1087,9 @@ namespace ams::secmon {
|
|||
/* Perform initial setup. */
|
||||
Setup1ForWarmboot();
|
||||
|
||||
/* Generate a random srk. */
|
||||
se::GenerateSrk();
|
||||
|
||||
/* Setup the Soc security. */
|
||||
SetupSocSecurity();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue