packet_queue.hh (13564:9bbd53a77887) | packet_queue.hh (13860:8f8df5b68439) |
---|---|
1/* 2 * Copyright (c) 2012,2015,2018 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 --- 158 unchanged lines hidden (view full) --- 167 168 /** 169 * Get the next packet ready time. 170 */ 171 Tick deferredPacketReadyTime() const 172 { return transmitList.empty() ? MaxTick : transmitList.front().tick; } 173 174 /** | 1/* 2 * Copyright (c) 2012,2015,2018 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 --- 158 unchanged lines hidden (view full) --- 167 168 /** 169 * Get the next packet ready time. 170 */ 171 Tick deferredPacketReadyTime() const 172 { return transmitList.empty() ? MaxTick : transmitList.front().tick; } 173 174 /** |
175 * Check if a packets address exists in the queue. | 175 * Check if a packet corresponding to the same address exists in the 176 * queue. 177 * 178 * @param pkt The packet to compare against. 179 * @param blk_size Block size in bytes. 180 * @return Whether a corresponding packet is found. |
176 */ | 181 */ |
177 bool hasAddr(Addr addr) const; | 182 bool checkConflict(const PacketPtr pkt, const int blk_size) const; |
178 179 /** Check the list of buffered packets against the supplied 180 * functional request. */ 181 bool trySatisfyFunctional(PacketPtr pkt); 182 183 /** 184 * Schedule a send event if we are not already waiting for a 185 * retry. If the requested time is before an already scheduled --- 147 unchanged lines hidden --- | 183 184 /** Check the list of buffered packets against the supplied 185 * functional request. */ 186 bool trySatisfyFunctional(PacketPtr pkt); 187 188 /** 189 * Schedule a send event if we are not already waiting for a 190 * retry. If the requested time is before an already scheduled --- 147 unchanged lines hidden --- |