dma_device.hh (9814:7ad2b0186a32) | dma_device.hh (10621:b7bc5b1084a4) |
---|---|
1/* 2 * Copyright (c) 2012-2013 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 --- 128 unchanged lines hidden (view full) --- 137 void recvRetry() ; 138 139 void queueDma(PacketPtr pkt); 140 141 public: 142 143 DmaPort(MemObject *dev, System *s); 144 | 1/* 2 * Copyright (c) 2012-2013 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 --- 128 unchanged lines hidden (view full) --- 137 void recvRetry() ; 138 139 void queueDma(PacketPtr pkt); 140 141 public: 142 143 DmaPort(MemObject *dev, System *s); 144 |
145 void dmaAction(Packet::Command cmd, Addr addr, int size, Event *event, 146 uint8_t *data, Tick delay, Request::Flags flag = 0); | 145 RequestPtr dmaAction(Packet::Command cmd, Addr addr, int size, Event *event, 146 uint8_t *data, Tick delay, Request::Flags flag = 0); |
147 148 bool dmaPending() const { return pendingCount > 0; } 149 150 unsigned int drain(DrainManager *drainManger); 151}; 152 153class DmaDevice : public PioDevice 154{ --- 34 unchanged lines hidden --- | 147 148 bool dmaPending() const { return pendingCount > 0; } 149 150 unsigned int drain(DrainManager *drainManger); 151}; 152 153class DmaDevice : public PioDevice 154{ --- 34 unchanged lines hidden --- |