diff options
author | Scott Johnson <scott.johnson@arilinc.com> | 2021-02-24 09:35:59 -0800 |
---|---|---|
committer | Andrew Waterman <aswaterman@gmail.com> | 2021-09-08 07:59:02 -0700 |
commit | 07ee26043895862ca2f9e7737f157b86cc0f30ef (patch) | |
tree | 6c7643e06bea5db7734c860d5066cc7a43e6c01e /riscv/mmu.h | |
parent | 7ad11c99067b9fc69f7f7beb5d8d19e0857a4770 (diff) | |
download | spike-07ee26043895862ca2f9e7737f157b86cc0f30ef.zip spike-07ee26043895862ca2f9e7737f157b86cc0f30ef.tar.gz spike-07ee26043895862ca2f9e7737f157b86cc0f30ef.tar.bz2 |
Make pmp_ok return type bool
Since that's what it was returning anyway.
Diffstat (limited to 'riscv/mmu.h')
-rw-r--r-- | riscv/mmu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/mmu.h b/riscv/mmu.h index a43b17e..0b86f6c 100644 --- a/riscv/mmu.h +++ b/riscv/mmu.h @@ -469,7 +469,7 @@ private: } reg_t pmp_homogeneous(reg_t addr, reg_t len); - reg_t pmp_ok(reg_t addr, reg_t len, access_type type, reg_t mode); + bool pmp_ok(reg_t addr, reg_t len, access_type type, reg_t mode); #ifdef RISCV_ENABLE_DUAL_ENDIAN bool target_big_endian; |