abstract_mem.hh (9405:c0a0593510db) | abstract_mem.hh (9707:1305bec2733f) |
---|---|
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 --- 189 unchanged lines hidden (view full) --- 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 /** | 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 --- 189 unchanged lines hidden (view full) --- 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 /** |
206 * See if this memory should be initialized to zero or not. 207 * 208 * @return true if zero 209 */ 210 bool initToZero() const { return params()->zero; } 211 212 /** | |
213 * Set the host memory backing store to be used by this memory 214 * controller. 215 * 216 * @param pmem_addr Pointer to a segment of host memory 217 */ 218 void setBackingStore(uint8_t* pmem_addr); 219 220 /** --- 93 unchanged lines hidden --- | 206 * Set the host memory backing store to be used by this memory 207 * controller. 208 * 209 * @param pmem_addr Pointer to a segment of host memory 210 */ 211 void setBackingStore(uint8_t* pmem_addr); 212 213 /** --- 93 unchanged lines hidden --- |