Deleted Added
sdiff udiff text old ( 12823:ba630bc7a36d ) new ( 13859:4156ac0c7257 )
full compact
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

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

71 /**
72 * Consider the queues friends to avoid making everything public.
73 */
74 template<typename Entry>
75 friend class Queue;
76 friend class WriteQueue;
77
78 public:
79 class TargetList : public std::list<Target> {
80
81 public:
82
83 TargetList() {}
84 void add(PacketPtr pkt, Tick readyTime, Counter order);
85 bool trySatisfyFunctional(PacketPtr pkt);
86 void print(std::ostream &os, int verbosity,

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

145 * @return true if there are targets
146 */
147 bool hasTargets() const { return !targets.empty(); }
148
149 /**
150 * Returns a reference to the first target.
151 * @return A pointer to the first target.
152 */
153 Target *getTarget() override
154 {
155 assert(hasTargets());
156 return &targets.front();
157 }
158
159 /**
160 * Pop first target.
161 */

--- 23 unchanged lines hidden ---