physical.hh (11614:29606f000389) physical.hh (12779:c1dc175bb9be)
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

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

113{
114
115 private:
116
117 // Name for debugging
118 std::string _name;
119
120 // Global address map
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

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

113{
114
115 private:
116
117 // Name for debugging
118 std::string _name;
119
120 // Global address map
121 AddrRangeMap addrMap;
121 AddrRangeMap<AbstractMemory*, 1> addrMap;
122
122
123 // a mutable cache for the last address map iterator that matched
124 // an address
125 mutable AddrRangeMap<AbstractMemory*>::const_iterator rangeCache;
126
127 // All address-mapped memories
128 std::vector<AbstractMemory*> memories;
129
130 // The total memory size
131 uint64_t size;
132
133 // Let the user choose if we reserve swap space when calling mmap
134 const bool mmapUsingNoReserve;

--- 140 unchanged lines hidden ---
123 // All address-mapped memories
124 std::vector<AbstractMemory*> memories;
125
126 // The total memory size
127 uint64_t size;
128
129 // Let the user choose if we reserve swap space when calling mmap
130 const bool mmapUsingNoReserve;

--- 140 unchanged lines hidden ---