mshr.hh (11742:3dcf0b891749) | mshr.hh (12599:43ade6cf92b7) |
---|---|
1/* | 1/* |
2 * Copyright (c) 2012-2013, 2015-2016 ARM Limited | 2 * Copyright (c) 2012-2013, 2015-2016, 2018 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 9 * licensed hereunder. You may use the software subject to the license 10 * terms below provided that you ensure that this notice is replicated --- 219 unchanged lines hidden (view full) --- 230 /** The pending* and post* flags are only valid if inService is 231 * true. Using the accessor functions lets us detect if these 232 * flags are accessed improperly. 233 */ 234 235 /** True if we need to get a writable copy of the block. */ 236 bool needsWritable() const { return targets.needsWritable; } 237 | 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 9 * licensed hereunder. You may use the software subject to the license 10 * terms below provided that you ensure that this notice is replicated --- 219 unchanged lines hidden (view full) --- 230 /** The pending* and post* flags are only valid if inService is 231 * true. Using the accessor functions lets us detect if these 232 * flags are accessed improperly. 233 */ 234 235 /** True if we need to get a writable copy of the block. */ 236 bool needsWritable() const { return targets.needsWritable; } 237 |
238 bool isCleaning() const { 239 PacketPtr pkt = targets.front().pkt; 240 return pkt->isClean(); 241 } 242 |
|
238 bool isPendingModified() const { 239 assert(inService); return pendingModified; 240 } 241 242 bool hasPostInvalidate() const { 243 assert(inService); return postInvalidate; 244 } 245 --- 129 unchanged lines hidden --- | 243 bool isPendingModified() const { 244 assert(inService); return pendingModified; 245 } 246 247 bool hasPostInvalidate() const { 248 assert(inService); return postInvalidate; 249 } 250 --- 129 unchanged lines hidden --- |