physical.cc (8851:7e966326ef5b) physical.cc (8914:8c3bd7bea667)
1/*
2 * Copyright (c) 2010-2011 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

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

491 return memory->doAtomicAccess(pkt);
492}
493
494void
495PhysicalMemory::MemoryPort::recvFunctional(PacketPtr pkt)
496{
497 pkt->pushLabel(memory->name());
498
1/*
2 * Copyright (c) 2010-2011 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

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

491 return memory->doAtomicAccess(pkt);
492}
493
494void
495PhysicalMemory::MemoryPort::recvFunctional(PacketPtr pkt)
496{
497 pkt->pushLabel(memory->name());
498
499 if (!checkFunctional(pkt)) {
499 if (!queue.checkFunctional(pkt)) {
500 // Default implementation of SimpleTimingPort::recvFunctional()
501 // calls recvAtomic() and throws away the latency; we can save a
502 // little here by just not calculating the latency.
503 memory->doFunctionalAccess(pkt);
504 }
505
506 pkt->popLabel();
507}

--- 154 unchanged lines hidden ---
500 // Default implementation of SimpleTimingPort::recvFunctional()
501 // calls recvAtomic() and throws away the latency; we can save a
502 // little here by just not calculating the latency.
503 memory->doFunctionalAccess(pkt);
504 }
505
506 pkt->popLabel();
507}

--- 154 unchanged lines hidden ---