gem5/src
Andreas Sandberg 7c904d9d3f sim: Initialize Drainable::_drainState to the system's state
It is sometimes desirable to be able to instantiate Drainable objects
when the simulator isn't in the Running state. Currently, we always
initialize Drainable objects to the Running state. However, this
confuses many of the sanity checks in the base class since objects
aren't expected to be in the Running state if the system is in the
Draining or Drained state.

Instead of always initializing the state variable in Drainable to
DrainState::Running, initialize it to the state the DrainManager is
in.

Note: This means an object can be created in the Draining/Drained
state without first calling drain().
2015-08-04 10:31:37 +01:00
..
arch x86: x86 instruction-implementation bug fixes 2015-07-20 09:15:18 -05:00
base base: Add serialization support to Pixels and FrameBuffer 2015-07-07 09:51:04 +01:00
cpu cpu: Fixed a bug on where to fetch the next instruction from 2015-07-20 09:15:18 -05:00
dev dev: add support for multi gem5 runs 2015-07-15 19:53:50 -05:00
doc cpu: `Minor' in-order CPU model 2014-07-23 16:09:04 -05:00
doxygen MEM: Put memory system document into doxygen 2012-09-25 11:49:41 -05:00
kern style: change Process function calls to use camelCase 2015-07-24 12:25:23 -07:00
mem mem: Move trace functionality from the CommMonitor to a probe 2015-08-04 10:29:13 +01:00
proto cpu: add support for outputing a protobuf formatted CPU trace 2015-02-16 03:32:38 -05:00
python sim: Decouple draining from the SimObject hierarchy 2015-07-07 09:51:05 +01:00
sim sim: Initialize Drainable::_drainState to the system's state 2015-08-04 10:31:37 +01:00
unittest base: Redesign internal frame buffer handling 2015-05-23 13:37:03 +01:00
Doxyfile Doxygen: Update the version of the Doxyfile 2012-10-11 06:38:42 -04:00
SConscript scons: Bump compiler requirement to gcc >= 4.7 and clang >= 3.1 2015-07-03 10:14:15 -04:00