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 --- 106 unchanged lines hidden (view full) --- 115 assert(pioSize != 0); 116 AddrRangeList ranges; 117 DPRINTF(BusAddrRanges, "registering range: %#x-%#x\n", pioAddr, pioSize); 118 ranges.push_back(RangeSize(pioAddr, pioSize)); 119 return ranges; 120} 121 122 |
123DmaPort::DmaPort(MemObject *dev, System *s, Tick min_backoff, Tick max_backoff) 124 : MasterPort(dev->name() + "-dma", dev), device(dev), sys(s), |
125 masterId(s->getMasterId(dev->name())), 126 pendingCount(0), actionInProgress(0), drainEvent(NULL), 127 backoffTime(0), minBackoffDelay(min_backoff), |
128 maxBackoffDelay(max_backoff), inRetry(false), |
129 backoffEvent(this) 130{ } 131 132bool 133DmaPort::recvTimingResp(PacketPtr pkt) 134{ 135 if (pkt->wasNacked()) { 136 DPRINTF(DMA, "Received nacked %s addr %#x\n", --- 253 unchanged lines hidden --- |