summaryrefslogtreecommitdiff
path: root/configs/common/Simulation.py
diff options
context:
space:
mode:
authorAndreas Sandberg <Andreas.Sandberg@arm.com>2012-11-02 11:32:02 -0500
committerAndreas Sandberg <Andreas.Sandberg@arm.com>2012-11-02 11:32:02 -0500
commit196397fea4e25f097b4a1624ee16fbbbc1c45b64 (patch)
tree3fe772ae6f94043b08311e08ea43b1cd9af23609 /configs/common/Simulation.py
parentb81a977e6ab7dbfd122cb778cfe3d40ca7451198 (diff)
downloadgem5-196397fea4e25f097b4a1624ee16fbbbc1c45b64.tar.xz
sim: Reuse the code to change memory mode.
changeToAtomic and changeToTiming both do essentially the same thing, they check the type of their input argument, drain the system, and switch to the desired memory mode. This patch moves all of that code to a separate method (changeMemoryMode) and calls that from both changeToAtomic and changeToTiming.
Diffstat (limited to 'configs/common/Simulation.py')
0 files changed, 0 insertions, 0 deletions