system.cc (10905:a6ca6831e775) system.cc (10910:32f3d1c454ec)
1/*
2 * Copyright (c) 2011-2014 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

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

186{
187 // no need to distinguish at the moment (besides checking)
188 return _systemPort;
189}
190
191void
192System::setMemoryMode(Enums::MemoryMode mode)
193{
1/*
2 * Copyright (c) 2011-2014 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

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

186{
187 // no need to distinguish at the moment (besides checking)
188 return _systemPort;
189}
190
191void
192System::setMemoryMode(Enums::MemoryMode mode)
193{
194 assert(getDrainState() == Drainable::Drained);
194 assert(getDrainState() == DrainState::Drained);
195 memoryMode = mode;
196}
197
198bool System::breakpoint()
199{
200 if (remoteGDB.size())
201 return remoteGDB[0]->breakpoint();
202 return false;

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

353System::isMemAddr(Addr addr) const
354{
355 return physmem.isMemAddr(addr);
356}
357
358unsigned int
359System::drain(DrainManager *dm)
360{
195 memoryMode = mode;
196}
197
198bool System::breakpoint()
199{
200 if (remoteGDB.size())
201 return remoteGDB[0]->breakpoint();
202 return false;

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

353System::isMemAddr(Addr addr) const
354{
355 return physmem.isMemAddr(addr);
356}
357
358unsigned int
359System::drain(DrainManager *dm)
360{
361 setDrainState(Drainable::Drained);
361 setDrainState(DrainState::Drained);
362 return 0;
363}
364
365void
366System::drainResume()
367{
368 Drainable::drainResume();
369 totalNumInsts = 0;

--- 123 unchanged lines hidden ---
362 return 0;
363}
364
365void
366System::drainResume()
367{
368 Drainable::drainResume();
369 totalNumInsts = 0;

--- 123 unchanged lines hidden ---