From 48c0b3ffcaef15aeac7b239e769bcc795b943bec Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Thu, 7 Feb 2019 19:20:52 +0100 Subject: Implemented simple indication of presence of memory location in the cache. Signed-off-by: Pavel Pisa --- qtmips_gui/memoryview.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qtmips_gui/memoryview.h') 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 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 -- cgit v1.2.3