1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-10 06:01:52 +00:00

Exosphere: Fix 4.0+ hang while waiting for BPMP shutdown.

This commit is contained in:
Michael Scire 2018-06-01 01:39:08 -06:00
parent af9bee6e7f
commit b566d04036

View file

@ -235,7 +235,7 @@ void setup_4x_mmio(void) {
MC_SMMU_AVPC_ASID_0 = 0x80000001; MC_SMMU_AVPC_ASID_0 = 0x80000001;
MC_SMMU_PPCS1_ASID_0 = 0x80000001; MC_SMMU_PPCS1_ASID_0 = 0x80000001;
/* Wait for the BPMP to halt. */ /* Wait for the BPMP to halt. */
while ((FLOW_CTLR_HALT_COP_EVENTS_0 >> 29) != 5) { while ((FLOW_CTLR_HALT_COP_EVENTS_0 >> 28) != 5) {
wait(1); wait(1);
} }
/* If not in a debugging context, setup the activity monitor. */ /* If not in a debugging context, setup the activity monitor. */