diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-12 00:39:09 +0100 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-12 00:39:09 +0100 |
commit | 8b553ef5863a07a0c9ae3a970bf6afe552ce6121 (patch) | |
tree | cb61054992ea0102ed7e400533fb7cc914fc7ab0 /qtmips_machine/physaddrspace.h | |
parent | 54d7ef4272673e55b6a4324373d11875280dad84 (diff) | |
download | qtmips-8b553ef5863a07a0c9ae3a970bf6afe552ce6121.tar.gz qtmips-8b553ef5863a07a0c9ae3a970bf6afe552ce6121.tar.bz2 qtmips-8b553ef5863a07a0c9ae3a970bf6afe552ce6121.zip |
Add debug access to rword and friends to allow read data through cache without disturbing statistic.
This allows to switch view between CPU and raw memory content.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_machine/physaddrspace.h')
-rw-r--r-- | qtmips_machine/physaddrspace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_machine/physaddrspace.h b/qtmips_machine/physaddrspace.h index c6f5e81..9c13e07 100644 --- a/qtmips_machine/physaddrspace.h +++ b/qtmips_machine/physaddrspace.h @@ -52,7 +52,7 @@ public: ~PhysAddrSpace(); bool wword(std::uint32_t address, std::uint32_t value); - std::uint32_t rword(std::uint32_t address) const; + std::uint32_t rword(std::uint32_t address, bool debug_access = false) const; bool insert_range(MemoryAccess *mem_acces, std::uint32_t start_addr, std::uint32_t last_addr, bool move_ownership); bool remove_range(MemoryAccess *mem_acces); |