write_queue_entry.hh (13861:7815aef6668f) write_queue_entry.hh (13875:656d633621fa)
1/*
2 * Copyright (c) 2012-2013, 2015-2016 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

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

87 const std::string &prefix) const;
88 };
89
90 /** A list of write queue entriess. */
91 typedef std::list<WriteQueueEntry *> List;
92 /** WriteQueueEntry list iterator. */
93 typedef List::iterator Iterator;
94
1/*
2 * Copyright (c) 2012-2013, 2015-2016 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

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

87 const std::string &prefix) const;
88 };
89
90 /** A list of write queue entriess. */
91 typedef std::list<WriteQueueEntry *> List;
92 /** WriteQueueEntry list iterator. */
93 typedef List::iterator Iterator;
94
95 bool sendPacket(BaseCache &cache);
95 bool sendPacket(BaseCache &cache) override;
96
97 private:
98
99 /**
100 * Pointer to this entry on the ready list.
101 * @sa MissQueue, WriteQueue::readyList
102 */
103 Iterator readyIter;

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

166
167 bool trySatisfyFunctional(PacketPtr pkt);
168
169 /**
170 * Prints the contents of this MSHR for debugging.
171 */
172 void print(std::ostream &os,
173 int verbosity = 0,
96
97 private:
98
99 /**
100 * Pointer to this entry on the ready list.
101 * @sa MissQueue, WriteQueue::readyList
102 */
103 Iterator readyIter;

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

166
167 bool trySatisfyFunctional(PacketPtr pkt);
168
169 /**
170 * Prints the contents of this MSHR for debugging.
171 */
172 void print(std::ostream &os,
173 int verbosity = 0,
174 const std::string &prefix = "") const;
174 const std::string &prefix = "") const override;
175 /**
176 * A no-args wrapper of print(std::ostream...) meant to be
177 * invoked from DPRINTFs avoiding string overheads in fast mode
178 *
179 * @return string with mshr fields
180 */
181 std::string print() const;
182
183 bool matchBlockAddr(const Addr addr, const bool is_secure) const override;
184 bool matchBlockAddr(const PacketPtr pkt) const override;
185 bool conflictAddr(const QueueEntry* entry) const override;
186};
187
188#endif // __MEM_CACHE_WRITE_QUEUE_ENTRY_HH__
175 /**
176 * A no-args wrapper of print(std::ostream...) meant to be
177 * invoked from DPRINTFs avoiding string overheads in fast mode
178 *
179 * @return string with mshr fields
180 */
181 std::string print() const;
182
183 bool matchBlockAddr(const Addr addr, const bool is_secure) const override;
184 bool matchBlockAddr(const PacketPtr pkt) const override;
185 bool conflictAddr(const QueueEntry* entry) const override;
186};
187
188#endif // __MEM_CACHE_WRITE_QUEUE_ENTRY_HH__