diff options
Diffstat (limited to 'src/mem/physical.hh')
-rw-r--r-- | src/mem/physical.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mem/physical.hh b/src/mem/physical.hh index e78b1d2da..fb9969a34 100644 --- a/src/mem/physical.hh +++ b/src/mem/physical.hh @@ -40,7 +40,7 @@ #ifndef __PHYSICAL_MEMORY_HH__ #define __PHYSICAL_MEMORY_HH__ -#include "base/range_map.hh" +#include "base/addr_range_map.hh" #include "mem/abstract_mem.hh" #include "mem/packet.hh" @@ -55,10 +55,10 @@ class PhysicalMemory private: // Global address map - range_map<Addr, AbstractMemory* > addrMap; + AddrRangeMap<AbstractMemory*> addrMap; // a mutable cache for the last range that matched an address - mutable Range<Addr> rangeCache; + mutable AddrRange rangeCache; // All address-mapped memories std::vector<AbstractMemory*> memories; |