dram_ctrl.cc (12706:456304051464) | dram_ctrl.cc (12823:ba630bc7a36d) |
---|---|
1/* 2 * Copyright (c) 2010-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 --- 2731 unchanged lines hidden (view full) --- 2740 return ranges; 2741} 2742 2743void 2744DRAMCtrl::MemoryPort::recvFunctional(PacketPtr pkt) 2745{ 2746 pkt->pushLabel(memory.name()); 2747 | 1/* 2 * Copyright (c) 2010-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 --- 2731 unchanged lines hidden (view full) --- 2740 return ranges; 2741} 2742 2743void 2744DRAMCtrl::MemoryPort::recvFunctional(PacketPtr pkt) 2745{ 2746 pkt->pushLabel(memory.name()); 2747 |
2748 if (!queue.checkFunctional(pkt)) { | 2748 if (!queue.trySatisfyFunctional(pkt)) { |
2749 // Default implementation of SimpleTimingPort::recvFunctional() 2750 // calls recvAtomic() and throws away the latency; we can save a 2751 // little here by just not calculating the latency. 2752 memory.recvFunctional(pkt); 2753 } 2754 2755 pkt->popLabel(); 2756} --- 19 unchanged lines hidden --- | 2749 // Default implementation of SimpleTimingPort::recvFunctional() 2750 // calls recvAtomic() and throws away the latency; we can save a 2751 // little here by just not calculating the latency. 2752 memory.recvFunctional(pkt); 2753 } 2754 2755 pkt->popLabel(); 2756} --- 19 unchanged lines hidden --- |