dma_device.hh (9166:1d983855df2c) dma_device.hh (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

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

151 bool dmaPending() { return dmaPort.dmaPending(); }
152
153 virtual void init();
154
155 virtual unsigned int drain(Event *de);
156
157 unsigned cacheBlockSize() const { return dmaPort.cacheBlockSize(); }
158
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

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

151 bool dmaPending() { return dmaPort.dmaPending(); }
152
153 virtual void init();
154
155 virtual unsigned int drain(Event *de);
156
157 unsigned cacheBlockSize() const { return dmaPort.cacheBlockSize(); }
158
159 virtual MasterPort &getMasterPort(const std::string &if_name,
160 int idx = -1);
159 virtual BaseMasterPort &getMasterPort(const std::string &if_name,
160 PortID idx = InvalidPortID);
161
162 friend class DmaPort;
163};
164
165#endif // __DEV_DMA_DEVICE_HH__
161
162 friend class DmaPort;
163};
164
165#endif // __DEV_DMA_DEVICE_HH__