dma_device.cc (9095:0e6bd7082fac) dma_device.cc (9133:82491f9ed266)
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

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

44#include "base/chunk_generator.hh"
45#include "debug/DMA.hh"
46#include "dev/dma_device.hh"
47#include "sim/system.hh"
48
49DmaPort::DmaPort(MemObject *dev, System *s, Tick min_backoff, Tick max_backoff)
50 : MasterPort(dev->name() + ".dma", dev), device(dev), sys(s),
51 masterId(s->getMasterId(dev->name())),
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

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

44#include "base/chunk_generator.hh"
45#include "debug/DMA.hh"
46#include "dev/dma_device.hh"
47#include "sim/system.hh"
48
49DmaPort::DmaPort(MemObject *dev, System *s, Tick min_backoff, Tick max_backoff)
50 : MasterPort(dev->name() + ".dma", dev), device(dev), sys(s),
51 masterId(s->getMasterId(dev->name())),
52 pendingCount(0), actionInProgress(0), drainEvent(NULL),
52 pendingCount(0), drainEvent(NULL),
53 backoffTime(0), minBackoffDelay(min_backoff),
54 maxBackoffDelay(max_backoff), inRetry(false),
55 backoffEvent(this)
56{ }
57
58bool
59DmaPort::recvTimingResp(PacketPtr pkt)
60{

--- 250 unchanged lines hidden ---
53 backoffTime(0), minBackoffDelay(min_backoff),
54 maxBackoffDelay(max_backoff), inRetry(false),
55 backoffEvent(this)
56{ }
57
58bool
59DmaPort::recvTimingResp(PacketPtr pkt)
60{

--- 250 unchanged lines hidden ---