aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/memoryview.h
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-07 19:20:52 +0100
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-07 19:20:52 +0100
commit48c0b3ffcaef15aeac7b239e769bcc795b943bec (patch)
tree69443cff9a486515c9fe95b08fec02e183ed2ba2 /qtmips_gui/memoryview.h
parent1126b91af5bd2d4477b3e78e8c648b3a512b24f7 (diff)
downloadqtmips-48c0b3ffcaef15aeac7b239e769bcc795b943bec.tar.gz
qtmips-48c0b3ffcaef15aeac7b239e769bcc795b943bec.tar.bz2
qtmips-48c0b3ffcaef15aeac7b239e769bcc795b943bec.zip
Implemented simple indication of presence of memory location in the cache.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui/memoryview.h')
-rw-r--r--qtmips_gui/memoryview.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qtmips_gui/memoryview.h b/qtmips_gui/memoryview.h
index 17af34f..f60ac53 100644
--- a/qtmips_gui/memoryview.h
+++ b/qtmips_gui/memoryview.h
@@ -67,6 +67,7 @@ public slots:
protected:
const machine::Memory *memory;
+ const machine::Cache *cache_data;
virtual QList<QWidget*> row_widget(std::uint32_t address, QWidget *parent) = 0;
@@ -82,6 +83,7 @@ private slots:
private:
std::uint32_t change_counter;
+ std::uint32_t cache_data_change_counter;
unsigned count;
std::uint32_t addr_0; // First address in view