DMASequencer.cc (8645:89929730804b) DMASequencer.cc (9104:27d56b644e78)
1/*
2 * Copyright (c) 2008 Mark D. Hill and David A. Wood
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

22 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29#include "debug/RubyDma.hh"
1/*
2 * Copyright (c) 2008 Mark D. Hill and David A. Wood
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

22 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29#include "debug/RubyDma.hh"
30#include "debug/RubyStats.hh"
30#include "mem/protocol/SequencerMsg.hh"
31#include "mem/protocol/SequencerRequestType.hh"
32#include "mem/ruby/buffers/MessageBuffer.hh"
33#include "mem/ruby/system/DMASequencer.hh"
34#include "mem/ruby/system/System.hh"
35
36DMASequencer::DMASequencer(const Params *p)
37 : RubyPort(p)

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

163 issueNext();
164}
165
166void
167DMASequencer::printConfig(std::ostream & out)
168{
169}
170
31#include "mem/protocol/SequencerMsg.hh"
32#include "mem/protocol/SequencerRequestType.hh"
33#include "mem/ruby/buffers/MessageBuffer.hh"
34#include "mem/ruby/system/DMASequencer.hh"
35#include "mem/ruby/system/System.hh"
36
37DMASequencer::DMASequencer(const Params *p)
38 : RubyPort(p)

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

164 issueNext();
165}
166
167void
168DMASequencer::printConfig(std::ostream & out)
169{
170}
171
172void
173DMASequencer::recordRequestType(DMASequencerRequestType requestType) {
174 DPRINTF(RubyStats, "Recorded statistic: %s\n",
175 DMASequencerRequestType_to_string(requestType));
176}
177
171DMASequencer *
172DMASequencerParams::create()
173{
174 return new DMASequencer(this);
175}
178DMASequencer *
179DMASequencerParams::create()
180{
181 return new DMASequencer(this);
182}