dma_device.cc (11010:034378be28a2) dma_device.cc (11284:b3926db25371)
1/*
2 * Copyright (c) 2012, 2015 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

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

100 // we might be drained at this point, if so signal the drain event
101 if (pendingCount == 0)
102 signalDrainDone();
103}
104
105bool
106DmaPort::recvTimingResp(PacketPtr pkt)
107{
1/*
2 * Copyright (c) 2012, 2015 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

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

100 // we might be drained at this point, if so signal the drain event
101 if (pendingCount == 0)
102 signalDrainDone();
103}
104
105bool
106DmaPort::recvTimingResp(PacketPtr pkt)
107{
108 // We shouldn't ever get a cacheable block in ownership state
108 // We shouldn't ever get a cacheable block in Modified state
109 assert(pkt->req->isUncacheable() ||
109 assert(pkt->req->isUncacheable() ||
110 !(pkt->memInhibitAsserted() && !pkt->sharedAsserted()));
110 !(pkt->cacheResponding() && !pkt->hasSharers()));
111
112 handleResp(pkt);
113
114 return true;
115}
116
117DmaDevice::DmaDevice(const Params *p)
118 : PioDevice(p), dmaPort(this, sys)

--- 361 unchanged lines hidden ---
111
112 handleResp(pkt);
113
114 return true;
115}
116
117DmaDevice::DmaDevice(const Params *p)
118 : PioDevice(p), dmaPort(this, sys)

--- 361 unchanged lines hidden ---