From 1126b91af5bd2d4477b3e78e8c648b3a512b24f7 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Thu, 7 Feb 2019 18:26:45 +0100 Subject: 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 --- qtmips_machine/cache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qtmips_machine/cache.h') 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; -- cgit v1.2.3