mshr.hh (10766:b2071d0eb5f1) | mshr.hh (11177:524c44cf8278) |
---|---|
1/* 2 * Copyright (c) 2012-2013, 2015 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 --- 268 unchanged lines hidden (view full) --- 277 if (getNumTargets() != 1) 278 return false; 279 const Target *tgt = &targets.front(); 280 return tgt->source == Target::FromCPU && !tgt->pkt->needsResponse(); 281 } 282 283 bool promoteDeferredTargets(); 284 | 1/* 2 * Copyright (c) 2012-2013, 2015 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 --- 268 unchanged lines hidden (view full) --- 277 if (getNumTargets() != 1) 278 return false; 279 const Target *tgt = &targets.front(); 280 return tgt->source == Target::FromCPU && !tgt->pkt->needsResponse(); 281 } 282 283 bool promoteDeferredTargets(); 284 |
285 void handleFill(PacketPtr pkt, CacheBlk *blk); | 285 void promoteExclusive(); |
286 287 bool checkFunctional(PacketPtr pkt); 288 289 /** 290 * Prints the contents of this MSHR for debugging. 291 */ 292 void print(std::ostream &os, 293 int verbosity = 0, 294 const std::string &prefix = "") const; 295 /** 296 * A no-args wrapper of print(std::ostream...) meant to be 297 * invoked from DPRINTFs avoiding string overheads in fast mode 298 * 299 * @return string with mshr fields + [deferred]targets 300 */ 301 std::string print() const; 302}; 303 304#endif // __MEM_CACHE_MSHR_HH__ | 286 287 bool checkFunctional(PacketPtr pkt); 288 289 /** 290 * Prints the contents of this MSHR for debugging. 291 */ 292 void print(std::ostream &os, 293 int verbosity = 0, 294 const std::string &prefix = "") const; 295 /** 296 * A no-args wrapper of print(std::ostream...) meant to be 297 * invoked from DPRINTFs avoiding string overheads in fast mode 298 * 299 * @return string with mshr fields + [deferred]targets 300 */ 301 std::string print() const; 302}; 303 304#endif // __MEM_CACHE_MSHR_HH__ |