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_machine/physaddrspace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qtmips_machine/physaddrspace.h') diff --git a/qtmips_machine/physaddrspace.h b/qtmips_machine/physaddrspace.h index 6d9f91c..c6f5e81 100644 --- a/qtmips_machine/physaddrspace.h +++ b/qtmips_machine/physaddrspace.h @@ -57,7 +57,7 @@ public: 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); void clean_range(std::uint32_t start_addr, std::uint32_t last_addr); - enum LocationStatus location_status(std::uint32_t offset); + enum LocationStatus location_status(std::uint32_t offset) const; private: class RangeDesc { public: -- cgit v1.2.3