mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-14 23:24:26 -04:00
exo2: fix bugs in non-core0 bootup
This commit is contained in:
parent
fa64bf4951
commit
864b6085a8
2 changed files with 4 additions and 1 deletions
|
@ -1018,7 +1018,7 @@ namespace ams::secmon {
|
|||
constexpr u32 ResetVectorHigh = static_cast<u32>((PhysicalTzramProgramResetVector >> BITSIZEOF(u32)));
|
||||
|
||||
/* Write our reset vector to the secure boot registers. */
|
||||
reg::Write(secmon::MemoryRegionVirtualDeviceSystem.GetAddress() + SB_AA64_RESET_LOW, ResetVectorLow);
|
||||
reg::Write(secmon::MemoryRegionVirtualDeviceSystem.GetAddress() + SB_AA64_RESET_LOW, ResetVectorLow | 1);
|
||||
reg::Write(secmon::MemoryRegionVirtualDeviceSystem.GetAddress() + SB_AA64_RESET_HIGH, ResetVectorHigh);
|
||||
|
||||
/* Disable non-secure writes to the reset vector. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue