1/*
2 * Copyright (c) 2011-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
--- 398 unchanged lines hidden (view full) ---
407 Tick nextReady = responseQueue.front()->ready;
408 if (nextReady <= curTick())
409 trySend();
410 else
411 bridge->schedule(sendEvent, nextReady);
412}
413
414Tick
415Bridge::BridgeSlavePort::recvAtomic(PacketPtr pkt)
416{
417 return delay + masterPort.sendAtomic(pkt);
418}
419
420void
421Bridge::BridgeSlavePort::recvFunctional(PacketPtr pkt)
422{
423 std::list<PacketBuffer*>::iterator i;
424
425 pkt->pushLabel(name());
426
427 // check the response queue
428 for (i = responseQueue.begin(); i != responseQueue.end(); ++i) {
--- 45 unchanged lines hidden ---
2 * Copyright (c) 2011-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
--- 398 unchanged lines hidden (view full) ---
407 Tick nextReady = responseQueue.front()->ready;
408 if (nextReady <= curTick())
409 trySend();
410 else
411 bridge->schedule(sendEvent, nextReady);
412}
413
414Tick
415Bridge::BridgeSlavePort::recvAtomic(PacketPtr pkt)
416{
417 return delay + masterPort.sendAtomic(pkt);
418}
419
420void
421Bridge::BridgeSlavePort::recvFunctional(PacketPtr pkt)
422{
423 std::list<PacketBuffer*>::iterator i;
424
425 pkt->pushLabel(name());
426
427 // check the response queue
428 for (i = responseQueue.begin(); i != responseQueue.end(); ++i) {
--- 45 unchanged lines hidden ---