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 --- 41 unchanged lines hidden (view full) --- 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/system.hh" 55 56DmaPort::DmaPort(MemObject *dev, System *s) 57 : MasterPort(dev->name() + ".dma", dev), |
58 device(dev), sys(s), masterId(s->getMasterId(dev)), |
59 sendEvent([this]{ sendDma(); }, dev->name()), 60 pendingCount(0), inRetry(false) 61{ } 62 63void 64DmaPort::handleResp(PacketPtr pkt, Tick delay) 65{ 66 // should always see a response with a sender state --- 442 unchanged lines hidden --- |