qport.hh (9163:3b5e13ac1940) qport.hh (9342:6fec8f26e56d)
1/*
2 * Copyright (c) 2012 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

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

92 */
93 void schedTimingResp(PacketPtr pkt, Tick when)
94 { queue.schedSendTiming(pkt, when); }
95
96 /** Check the list of buffered packets against the supplied
97 * functional request. */
98 bool checkFunctional(PacketPtr pkt) { return queue.checkFunctional(pkt); }
99
1/*
2 * Copyright (c) 2012 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

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

92 */
93 void schedTimingResp(PacketPtr pkt, Tick when)
94 { queue.schedSendTiming(pkt, when); }
95
96 /** Check the list of buffered packets against the supplied
97 * functional request. */
98 bool checkFunctional(PacketPtr pkt) { return queue.checkFunctional(pkt); }
99
100 /**
101 * Hook for draining the queued port.
102 *
103 * @param de an event which is used to signal back to the caller
104 * @returns a number indicating how many times process will be called
105 */
106 unsigned int drain(Event *de) { return queue.drain(de); }
100 unsigned int drain(DrainManager *dm) { return queue.drain(dm); }
107};
108
109class QueuedMasterPort : public MasterPort
110{
111
112 protected:
113
114 /** Packet queue used to store outgoing requests and responses. */

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

151 */
152 void schedTimingSnoopResp(PacketPtr pkt, Tick when)
153 { queue.schedSendTiming(pkt, when, true); }
154
155 /** Check the list of buffered packets against the supplied
156 * functional request. */
157 bool checkFunctional(PacketPtr pkt) { return queue.checkFunctional(pkt); }
158
101};
102
103class QueuedMasterPort : public MasterPort
104{
105
106 protected:
107
108 /** Packet queue used to store outgoing requests and responses. */

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

145 */
146 void schedTimingSnoopResp(PacketPtr pkt, Tick when)
147 { queue.schedSendTiming(pkt, when, true); }
148
149 /** Check the list of buffered packets against the supplied
150 * functional request. */
151 bool checkFunctional(PacketPtr pkt) { return queue.checkFunctional(pkt); }
152
159 /**
160 * Hook for draining the queued port.
161 *
162 * @param de an event which is used to signal back to the caller
163 * @returns a number indicating how many times process will be called
164 */
165 unsigned int drain(Event *de) { return queue.drain(de); }
153 unsigned int drain(DrainManager *dm) { return queue.drain(dm); }
166};
167
168#endif // __MEM_QPORT_HH__
154};
155
156#endif // __MEM_QPORT_HH__