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 --- 183 unchanged lines hidden (view full) --- 192 typedef AbstractMemoryParams Params; 193 194 AbstractMemory(const Params* p); 195 virtual ~AbstractMemory() {} 196 197 /** 198 * Initialise this memory. 199 */ |
200 void init() override; |
201 202 /** 203 * See if this is a null memory that should never store data and 204 * always return zero. 205 * 206 * @return true if null 207 */ 208 bool isNull() const { return params()->null; } --- 90 unchanged lines hidden (view full) --- 299 * 300 * @param pkt Packet performing the access 301 */ 302 void functionalAccess(PacketPtr pkt); 303 304 /** 305 * Register Statistics 306 */ |
307 void regStats() override; |
308 309}; 310 311#endif //__ABSTRACT_MEMORY_HH__ |