Deleted Added
sdiff udiff text old ( 11195:6f8b2a005abb ) new ( 11207:7b7e352f8d7f )
full compact
1/*
2 * Copyright (c) 2012,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

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

84 EventManager& em;
85
86 /** Used to schedule sending of deferred packets. */
87 void processSendEvent();
88
89 /** Event used to call processSendEvent. */
90 EventWrapper<PacketQueue, &PacketQueue::processSendEvent> sendEvent;
91
92 protected:
93
94 /** Label to use for print request packets label stack. */
95 const std::string label;
96
97 /** Remember whether we're awaiting a retry. */
98 bool waitingOnRetry;
99

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

118 virtual bool sendTiming(PacketPtr pkt) = 0;
119
120 /**
121 * Create a packet queue, linked to an event manager, and a label
122 * that will be used for functional print request packets.
123 *
124 * @param _em Event manager used for scheduling this queue
125 * @param _label Label to push on the label stack for print request packets
126 */
127 PacketQueue(EventManager& _em, const std::string& _label);
128
129 /**
130 * Virtual desctructor since the class may be used as a base class.
131 */
132 virtual ~PacketQueue();
133
134 public:
135

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

182
183 /**
184 * Retry sending a packet from the queue. Note that this is not
185 * necessarily the same packet if something has been added with an
186 * earlier time stamp.
187 */
188 void retry();
189
190 DrainState drain() override;
191};
192
193class ReqPacketQueue : public PacketQueue
194{
195
196 protected:
197

--- 86 unchanged lines hidden ---