dma_device.cc (9166:1d983855df2c) dma_device.cc (9294:8fb03b13de02)
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

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

249 pkt->req->getPaddr(), pkt->req->getSize());
250 Tick lat = sendAtomic(pkt);
251
252 handleResp(pkt, lat);
253 } else
254 panic("Unknown memory mode.");
255}
256
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

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

249 pkt->req->getPaddr(), pkt->req->getSize());
250 Tick lat = sendAtomic(pkt);
251
252 handleResp(pkt, lat);
253 } else
254 panic("Unknown memory mode.");
255}
256
257MasterPort &
258DmaDevice::getMasterPort(const std::string &if_name, int idx)
257BaseMasterPort &
258DmaDevice::getMasterPort(const std::string &if_name, PortID idx)
259{
260 if (if_name == "dma") {
261 return dmaPort;
262 }
263 return PioDevice::getMasterPort(if_name, idx);
264}
259{
260 if (if_name == "dma") {
261 return dmaPort;
262 }
263 return PioDevice::getMasterPort(if_name, idx);
264}