mshr.hh (11284:b3926db25371) mshr.hh (11357:6668387fa488)
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

--- 135 unchanged lines hidden (view full) ---

144 bool needsWritable;
145 bool hasUpgrade;
146
147 TargetList();
148 void resetFlags() { needsWritable = hasUpgrade = false; }
149 bool isReset() const { return !needsWritable && !hasUpgrade; }
150 void add(PacketPtr pkt, Tick readyTime, Counter order,
151 Target::Source source, bool markPending);
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

--- 135 unchanged lines hidden (view full) ---

144 bool needsWritable;
145 bool hasUpgrade;
146
147 TargetList();
148 void resetFlags() { needsWritable = hasUpgrade = false; }
149 bool isReset() const { return !needsWritable && !hasUpgrade; }
150 void add(PacketPtr pkt, Tick readyTime, Counter order,
151 Target::Source source, bool markPending);
152
153 /**
154 * Convert upgrades to the equivalent request if the cache line they
155 * refer to would have been invalid (Upgrade -> ReadEx, SC* -> Fail).
156 * Used to rejig ordering between targets waiting on an MSHR. */
152 void replaceUpgrades();
157 void replaceUpgrades();
158
153 void clearDownstreamPending();
154 bool checkFunctional(PacketPtr pkt);
155 void print(std::ostream &os, int verbosity,
156 const std::string &prefix) const;
157 };
158
159 /** A list of MSHRs. */
160 typedef std::list<MSHR *> List;

--- 169 unchanged lines hidden ---
159 void clearDownstreamPending();
160 bool checkFunctional(PacketPtr pkt);
161 void print(std::ostream &os, int verbosity,
162 const std::string &prefix) const;
163 };
164
165 /** A list of MSHRs. */
166 typedef std::list<MSHR *> List;

--- 169 unchanged lines hidden ---