io_device.cc (10603:6099331da328) | io_device.cc (10694:1a6785e37d81) |
---|---|
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 --- 41 unchanged lines hidden (view full) --- 50 : SimpleTimingPort(dev->name() + ".pio", dev), device(dev) 51{ 52} 53 54Tick 55PioPort::recvAtomic(PacketPtr pkt) 56{ 57 // @todo: We need to pay for this and not just zero it out | 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 --- 41 unchanged lines hidden (view full) --- 50 : SimpleTimingPort(dev->name() + ".pio", dev), device(dev) 51{ 52} 53 54Tick 55PioPort::recvAtomic(PacketPtr pkt) 56{ 57 // @todo: We need to pay for this and not just zero it out |
58 pkt->firstWordDelay = pkt->lastWordDelay = 0; | 58 pkt->headerDelay = pkt->payloadDelay = 0; |
59 60 const Tick delay(pkt->isRead() ? device->read(pkt) : device->write(pkt)); 61 assert(pkt->isResponse() || pkt->isError()); 62 return delay; 63} 64 65AddrRangeList 66PioPort::getAddrRanges() const --- 55 unchanged lines hidden --- | 59 60 const Tick delay(pkt->isRead() ? device->read(pkt) : device->write(pkt)); 61 assert(pkt->isResponse() || pkt->isError()); 62 return delay; 63} 64 65AddrRangeList 66PioPort::getAddrRanges() const --- 55 unchanged lines hidden --- |