Deleted Added
sdiff udiff text old ( 9342:6fec8f26e56d ) new ( 9549:95a536fae9ac )
full compact
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

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

49PioPort::PioPort(PioDevice *dev)
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->busFirstWordDelay = pkt->busLastWordDelay = 0;
59
60 return pkt->isRead() ? device->read(pkt) : device->write(pkt);
61}
62
63AddrRangeList
64PioPort::getAddrRanges() const
65{
66 return device->getAddrRanges();
67}

--- 52 unchanged lines hidden ---