packet_queue.cc (9390:5490105626dc) packet_queue.cc (9663:45df88079f04)
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

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

102 } else if (sendEvent.when() > when) {
103 em.reschedule(&sendEvent, when);
104 }
105}
106
107void
108PacketQueue::schedSendTiming(PacketPtr pkt, Tick when, bool send_as_snoop)
109{
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

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

102 } else if (sendEvent.when() > when) {
103 em.reschedule(&sendEvent, when);
104 }
105}
106
107void
108PacketQueue::schedSendTiming(PacketPtr pkt, Tick when, bool send_as_snoop)
109{
110 DPRINTF(PacketQueue, "%s for %s address %x size %d\n", __func__,
111 pkt->cmdString(), pkt->getAddr(), pkt->getSize());
110 // we can still send a packet before the end of this tick
111 assert(when >= curTick());
112
113 // express snoops should never be queued
114 assert(!pkt->isExpressSnoop());
115
116 // add a very basic sanity check on the port to ensure the
117 // invisible buffer is not growing beyond reasonable limits

--- 135 unchanged lines hidden ---
112 // we can still send a packet before the end of this tick
113 assert(when >= curTick());
114
115 // express snoops should never be queued
116 assert(!pkt->isExpressSnoop());
117
118 // add a very basic sanity check on the port to ensure the
119 // invisible buffer is not growing beyond reasonable limits

--- 135 unchanged lines hidden ---