Partly revert [4f54b0f229b5] and move draining to m5.changeToTiming
authorAndreas Sandberg <Andreas.Sandberg@arm.com>
Fri, 2 Nov 2012 16:32:00 +0000 (11:32 -0500)
committerAndreas Sandberg <Andreas.Sandberg@arm.com>
Fri, 2 Nov 2012 16:32:00 +0000 (11:32 -0500)
commit7e25052feebcc69592e8d40aa085e386ad23b173
tree2afc952f40fa48d1912a31145caf15a82786403a
parent3d9811971783630ce09f39fbb0f10794cbf609f5
Partly revert [4f54b0f229b5] and move draining to m5.changeToTiming

Changeset 4f54b0f229b5 removed the call to doDrain in changeToTiming
based on the assumption that the system does not need draining when
running in atomic mode. This is a false assumption since at least the
System class requires the system to be drained before it allows
switching of memory modes. This patch reverts that part of the
changeset.
configs/common/Simulation.py
src/python/m5/simulate.py