abstract_mem.hh (9707:1305bec2733f) | abstract_mem.hh (10466:73b7549d979e) |
---|---|
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 --- 181 unchanged lines hidden (view full) --- 190 public: 191 192 typedef AbstractMemoryParams Params; 193 194 AbstractMemory(const Params* p); 195 virtual ~AbstractMemory() {} 196 197 /** | 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 --- 181 unchanged lines hidden (view full) --- 190 public: 191 192 typedef AbstractMemoryParams Params; 193 194 AbstractMemory(const Params* p); 195 virtual ~AbstractMemory() {} 196 197 /** |
198 * Initialise this memory. 199 */ 200 void init(); 201 202 /** |
|
198 * See if this is a null memory that should never store data and 199 * always return zero. 200 * 201 * @return true if null 202 */ 203 bool isNull() const { return params()->null; } 204 205 /** --- 101 unchanged lines hidden --- | 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; } 209 210 /** --- 101 unchanged lines hidden --- |