Deleted Added
sdiff udiff text old ( 11522:348411ec525a ) new ( 12087:0e082672ac6b )
full compact
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

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

76 chan.push_back(ch);
77 }
78}
79
80
81CopyEngine::CopyEngineChannel::CopyEngineChannel(CopyEngine *_ce, int cid)
82 : cePort(_ce, _ce->sys),
83 ce(_ce), channelId(cid), busy(false), underReset(false),
84 refreshNext(false), latBeforeBegin(ce->params()->latBeforeBegin),
85 latAfterCompletion(ce->params()->latAfterCompletion),
86 completionDataReg(0), nextState(Idle),
87 fetchCompleteEvent(this), addrCompleteEvent(this),
88 readCompleteEvent(this), writeCompleteEvent(this),
89 statusCompleteEvent(this)
90
91{
92 cr.status.dma_transfer_status(3);
93 cr.descChainAddr = 0;
94 cr.completionAddr = 0;
95
96 curDmaDesc = new DmaDesc;
97 memset(curDmaDesc, 0, sizeof(DmaDesc));

--- 654 unchanged lines hidden ---