diff options
author | Ryan Buchner <ryan.buchner@arilinc.com> | 2022-04-12 12:53:18 -0700 |
---|---|---|
committer | Ryan Buchner <ryan.buchner@arilinc.com> | 2022-04-12 15:24:00 -0700 |
commit | b1e7493a652b969c3aed96628a347f683dd1af16 (patch) | |
tree | 0bf25733a36af91062acd032c5eeb4443cf8b5e0 /riscv/mmu.cc | |
parent | ae7d2c3062c1a911d97444e5c6df5089a7bb52f6 (diff) | |
download | spike-b1e7493a652b969c3aed96628a347f683dd1af16.zip spike-b1e7493a652b969c3aed96628a347f683dd1af16.tar.gz spike-b1e7493a652b969c3aed96628a347f683dd1af16.tar.bz2 |
Add actually_store tag to store_func and store_slow_path
Will be used to check store attributes without actually performing the store.
Needed to AMO bug fix.
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 fd8a320..6c7af21 100644 --- a/riscv/mmu.cc +++ b/riscv/mmu.cc @@ -161,7 +161,7 @@ void mmu_t::load_slow_path(reg_t addr, reg_t len, uint8_t* bytes, uint32_t xlate } } -void mmu_t::store_slow_path(reg_t addr, reg_t len, const uint8_t* bytes, uint32_t xlate_flags) +void mmu_t::store_slow_path(reg_t addr, reg_t len, const uint8_t* bytes, uint32_t xlate_flags, bool actually_store) { reg_t paddr = translate(addr, len, STORE, xlate_flags); |