Revert "refuse to adhere to SMMU for BPMP-FW"

This reverts commit fc10a53bda.
This commit is contained in:
souldbminersmwc committed 2026-08-27 16:31:41 -04:00
1 parent fc10a53bda
commit cbaa61385c
2 files changed
+9 -17

No files matched your search

+2 -2
View File
@@ -900,7 +900,7 @@ namespace ams::secmon {
reg::ReadWrite(PMC + APBDEV_PMC_SECURE_SCRATCH39, REG_BITS_VALUE(0, 27, WarmbootCarveoutConfig));
}
[[maybe_unused]] void EnableBpmpSmmu() {
void EnableBpmpSmmu() {
/* Define the ASID contents. */
constexpr int BpmpAsid = 1;
constexpr uintptr_t BpmpAsidPde = MemoryRegionPhysicalDeviceSecurityEngine.GetAddress();
@@ -1197,7 +1197,7 @@ namespace ams::secmon {
reg::ReadWrite(SYSTEM + AHB_ARBITRATION_DISABLE, AHB_REG_BITS_ENUM(ARBITRATION_DISABLE_COP, DISABLE));
/* Turn on the SMMU for the BPMP. */
// EnableBpmpSmmu(); I REFUSE
EnableBpmpSmmu();
/* Wait until the flow controller reports that the BPMP is halted. */
while (!reg::HasValue(FLOW_CTLR + FLOW_CTLR_HALT_COP_EVENTS, FLOW_REG_BITS_ENUM(HALT_COP_EVENTS_MODE, FLOW_MODE_STOP))) {