1/* 2 * Copyright (c) 2012, 2015, 2017 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 --- 37 unchanged lines hidden (view full) --- 46#include "dev/dma_device.hh" 47 48#include <utility> 49 50#include "base/chunk_generator.hh" 51#include "debug/DMA.hh" 52#include "debug/Drain.hh" 53#include "mem/port_proxy.hh" |
54#include "sim/clocked_object.hh" |
55#include "sim/system.hh" 56 |
57DmaPort::DmaPort(ClockedObject *dev, System *s) |
58 : MasterPort(dev->name() + ".dma", dev), 59 device(dev), sys(s), masterId(s->getMasterId(dev)), 60 sendEvent([this]{ sendDma(); }, dev->name()), 61 pendingCount(0), inRetry(false) 62{ } 63 64void 65DmaPort::handleResp(PacketPtr pkt, Tick delay) --- 446 unchanged lines hidden --- |