physical.hh (10482:f1baf4f7723f) physical.hh (10699:d0004c12d024)
1/*
2 * Copyright (c) 2012 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 61 unchanged lines hidden (view full) ---

70 private:
71
72 // Name for debugging
73 std::string _name;
74
75 // Global address map
76 AddrRangeMap<AbstractMemory*> addrMap;
77
1/*
2 * Copyright (c) 2012 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 61 unchanged lines hidden (view full) ---

70 private:
71
72 // Name for debugging
73 std::string _name;
74
75 // Global address map
76 AddrRangeMap<AbstractMemory*> addrMap;
77
78 // a mutable cache for the last range that matched an address
79 mutable AddrRange rangeCache;
78 // a mutable cache for the last address map iterator that matched
79 // an address
80 mutable AddrRangeMap<AbstractMemory*>::const_iterator rangeCache;
80
81 // All address-mapped memories
82 std::vector<AbstractMemory*> memories;
83
84 // The total memory size
85 uint64_t size;
86
87 // The physical memory used to provide the memory in the simulated

--- 134 unchanged lines hidden ---
81
82 // All address-mapped memories
83 std::vector<AbstractMemory*> memories;
84
85 // The total memory size
86 uint64_t size;
87
88 // The physical memory used to provide the memory in the simulated

--- 134 unchanged lines hidden ---