diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-07 18:26:45 +0100 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-07 18:26:45 +0100 |
commit | 1126b91af5bd2d4477b3e78e8c648b3a512b24f7 (patch) | |
tree | 38b5f319914865b63258b99a8c01ab984fb2f6ba /qtmips_machine/cache.h | |
parent | 780b3a9daa6a4c4eca9c095ad990334b43cc0dfa (diff) | |
download | qtmips-1126b91af5bd2d4477b3e78e8c648b3a512b24f7.tar.gz qtmips-1126b91af5bd2d4477b3e78e8c648b3a512b24f7.tar.bz2 qtmips-1126b91af5bd2d4477b3e78e8c648b3a512b24f7.zip |
Added method to retrieve memory location status.
It can inform if given location is cached or if given range
is invalid in address space.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_machine/cache.h')
-rw-r--r-- | qtmips_machine/cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_machine/cache.h b/qtmips_machine/cache.h index d4df317..4d8cb6d 100644 --- a/qtmips_machine/cache.h +++ b/qtmips_machine/cache.h @@ -64,7 +64,7 @@ public: void reset(); // Reset whole state of cache const MachineConfigCache &config() const; - + enum LocationStatus location_status(std::uint32_t address); signals: void hit_update(unsigned) const; void miss_update(unsigned) const; |