diff options
author | rbuchner <ryan.buchner@arilinc.com> | 2023-04-28 16:28:16 -0700 |
---|---|---|
committer | rbuchner <ryan.buchner@arilinc.com> | 2023-05-11 23:00:59 -0700 |
commit | 33fbc2df39df914d3462bede4112db7966d49a3c (patch) | |
tree | 0d4e292c8edf3a4d771f39a32708540e8bff48ce /riscv/mmu.h | |
parent | 36b8c12e9f4d92f3cb97daf4ea0613436724438f (diff) | |
download | spike-33fbc2df39df914d3462bede4112db7966d49a3c.zip spike-33fbc2df39df914d3462bede4112db7966d49a3c.tar.gz spike-33fbc2df39df914d3462bede4112db7966d49a3c.tar.bz2 |
Plumb in effective virtual bit to take_trigger_action()
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 2f93863..5a4835c 100644 --- a/riscv/mmu.h +++ b/riscv/mmu.h @@ -391,7 +391,7 @@ private: bool mmio_store(reg_t paddr, size_t len, const uint8_t* bytes); bool mmio(reg_t paddr, size_t len, uint8_t* bytes, access_type type); bool mmio_ok(reg_t paddr, access_type type); - void check_triggers(triggers::operation_t operation, reg_t address, std::optional<reg_t> data = std::nullopt); + void check_triggers(triggers::operation_t operation, reg_t address, bool virt, std::optional<reg_t> data = std::nullopt); reg_t translate(mem_access_info_t access_info, reg_t len); reg_t pte_load(reg_t pte_paddr, reg_t addr, bool virt, access_type trap_type, size_t ptesize) { |