diff options
author | Andreas Sandberg <Andreas.Sandberg@arm.com> | 2012-11-02 11:32:02 -0500 |
---|---|---|
committer | Andreas Sandberg <Andreas.Sandberg@arm.com> | 2012-11-02 11:32:02 -0500 |
commit | 196397fea4e25f097b4a1624ee16fbbbc1c45b64 (patch) | |
tree | 3fe772ae6f94043b08311e08ea43b1cd9af23609 /src/python/SConscript | |
parent | b81a977e6ab7dbfd122cb778cfe3d40ca7451198 (diff) | |
download | gem5-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 'src/python/SConscript')
0 files changed, 0 insertions, 0 deletions