moves mmu related code into mmu unit

This commit is contained in:
eyck committed 2025-03-16 08:50:01 +01:00
1 parent e238369e18
commit 54233b448d
19 files changed
+683 -598

No files matched your search

+1 -1
View File
@@ -146,10 +146,10 @@ public:
void wait_until(uint64_t flags) override {
SCCDEBUG(owner->hier_name()) << "Sleeping until interrupt";
PLAT::wait_until(flags);
while(this->reg.pending_trap == 0 && (this->csr[iss::arch::mip] & this->csr[iss::arch::mie]) == 0) {
sc_core::wait(wfi_evt);
}
PLAT::wait_until(flags);
}
void local_irq(short id, bool value) override {