dma_device.cc (9016:18093957a102) dma_device.cc (9095:0e6bd7082fac)
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

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

42 */
43
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)
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

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

42 */
43
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),
50 : MasterPort(dev->name() + ".dma", dev), device(dev), sys(s),
51 masterId(s->getMasterId(dev->name())),
52 pendingCount(0), actionInProgress(0), drainEvent(NULL),
53 backoffTime(0), minBackoffDelay(min_backoff),
54 maxBackoffDelay(max_backoff), inRetry(false),
55 backoffEvent(this)
56{ }
57
58bool

--- 252 unchanged lines hidden ---
51 masterId(s->getMasterId(dev->name())),
52 pendingCount(0), actionInProgress(0), drainEvent(NULL),
53 backoffTime(0), minBackoffDelay(min_backoff),
54 maxBackoffDelay(max_backoff), inRetry(false),
55 backoffEvent(this)
56{ }
57
58bool

--- 252 unchanged lines hidden ---