diff options
Diffstat (limited to 'riscv/mmu.cc')
-rw-r--r-- | riscv/mmu.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/mmu.cc b/riscv/mmu.cc index 480b77e..b6dcc1f 100644 --- a/riscv/mmu.cc +++ b/riscv/mmu.cc @@ -215,7 +215,7 @@ tlb_entry_t mmu_t::refill_tlb(reg_t vaddr, reg_t paddr, char* host_addr, access_ return entry; } -reg_t mmu_t::pmp_ok(reg_t addr, reg_t len, access_type type, reg_t mode) +bool mmu_t::pmp_ok(reg_t addr, reg_t len, access_type type, reg_t mode) { if (!proc || proc->n_pmp == 0) return true; |