abstract_mem.hh (9053:9cad1c26c3b3) | abstract_mem.hh (9098:7909b6cf7188) |
---|---|
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 --- 195 unchanged lines hidden (view full) --- 204 return dynamic_cast<const Params *>(_params); 205 } 206 207 /** 208 * Get the address range 209 * 210 * @return a single contigous address range 211 */ | 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 --- 195 unchanged lines hidden (view full) --- 204 return dynamic_cast<const Params *>(_params); 205 } 206 207 /** 208 * Get the address range 209 * 210 * @return a single contigous address range 211 */ |
212 Range | 212 Range<Addr> getAddrRange() const; |
213 214 /** 215 * Get the memory size. 216 * 217 * @return the size of the memory 218 */ | 213 214 /** 215 * Get the memory size. 216 * 217 * @return the size of the memory 218 */ |
219 uint64_t size() { return range.size(); } | 219 uint64_t size() const { return range.size(); } |
220 221 /** 222 * Get the start address. 223 * 224 * @return the start address of the memory 225 */ | 220 221 /** 222 * Get the start address. 223 * 224 * @return the start address of the memory 225 */ |
226 Addr start() { return range.start; } | 226 Addr start() const { return range.start; } |
227 228 /** 229 * Should this memory be passed to the kernel and part of the OS 230 * physical memory layout. 231 * 232 * @return if this memory is reported 233 */ 234 bool isConfReported() const { return confTableReported; } --- 39 unchanged lines hidden --- | 227 228 /** 229 * Should this memory be passed to the kernel and part of the OS 230 * physical memory layout. 231 * 232 * @return if this memory is reported 233 */ 234 bool isConfReported() const { return confTableReported; } --- 39 unchanged lines hidden --- |