packet_queue.hh (10722:886d2458e0d6) | packet_queue.hh (10913:38dbdeea7f1f) |
---|---|
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 | 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 /** If we need to drain, keep the drain manager around until we're done 93 * here.*/ 94 DrainManager *drainManager; 95 | |
96 protected: 97 98 /** Label to use for print request packets label stack. */ 99 const std::string label; 100 101 /** Remember whether we're awaiting a retry. */ 102 bool waitingOnRetry; 103 --- 83 unchanged lines hidden (view full) --- 187 188 /** 189 * Retry sending a packet from the queue. Note that this is not 190 * necessarily the same packet if something has been added with an 191 * earlier time stamp. 192 */ 193 void retry(); 194 | 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 --- 83 unchanged lines hidden (view full) --- 183 184 /** 185 * Retry sending a packet from the queue. Note that this is not 186 * necessarily the same packet if something has been added with an 187 * earlier time stamp. 188 */ 189 void retry(); 190 |
195 unsigned int drain(DrainManager *dm); | 191 DrainState drain() M5_ATTR_OVERRIDE; |
196}; 197 198class ReqPacketQueue : public PacketQueue 199{ 200 201 protected: 202 203 MasterPort& masterPort; --- 85 unchanged lines hidden --- | 192}; 193 194class ReqPacketQueue : public PacketQueue 195{ 196 197 protected: 198 199 MasterPort& masterPort; --- 85 unchanged lines hidden --- |