packet_queue.cc (9160:584662eaaecf) packet_queue.cc (9163:3b5e13ac1940)
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

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

104}
105
106void
107PacketQueue::schedSendTiming(PacketPtr pkt, Tick when, bool send_as_snoop)
108{
109 // we can still send a packet before the end of this tick
110 assert(when >= curTick());
111
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

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

104}
105
106void
107PacketQueue::schedSendTiming(PacketPtr pkt, Tick when, bool send_as_snoop)
108{
109 // we can still send a packet before the end of this tick
110 assert(when >= curTick());
111
112 // express snoops should never be queued
113 assert(!pkt->isExpressSnoop());
114
112 // nothing on the list, or earlier than current front element,
113 // schedule an event
114 if (transmitList.empty() || when < transmitList.front().tick) {
115 // note that currently we ignore a potentially outstanding retry
116 // and could in theory put a new packet at the head of the
117 // transmit list before retrying the existing packet
118 transmitList.push_front(DeferredPacket(when, pkt, send_as_snoop));
119 schedSendEvent(when);

--- 122 unchanged lines hidden ---
115 // nothing on the list, or earlier than current front element,
116 // schedule an event
117 if (transmitList.empty() || when < transmitList.front().tick) {
118 // note that currently we ignore a potentially outstanding retry
119 // and could in theory put a new packet at the head of the
120 // transmit list before retrying the existing packet
121 transmitList.push_front(DeferredPacket(when, pkt, send_as_snoop));
122 schedSendEvent(when);

--- 122 unchanged lines hidden ---