mem-cache: Add match functions to QueueEntry
[gem5.git] / src / mem / physical.hh
index cc733b2d67d14bb6d34bbfcf10de98d3a2c442c6..3fb3510b8de30d4855b6090e082b0e3c80f84c10 100644 (file)
@@ -118,11 +118,7 @@ class PhysicalMemory : public Serializable
     std::string _name;
 
     // Global address map
-    AddrRangeMap<AbstractMemory*> addrMap;
-
-    // a mutable cache for the last address map iterator that matched
-    // an address
-    mutable AddrRangeMap<AbstractMemory*>::const_iterator rangeCache;
+    AddrRangeMap<AbstractMemory*, 1> addrMap;
 
     // All address-mapped memories
     std::vector<AbstractMemory*> memories;