sim: Remove SimObject::setMemoryMode
authorAndreas Sandberg <Andreas.Sandberg@arm.com>
Tue, 25 Sep 2012 16:49:40 +0000 (11:49 -0500)
committerAndreas Sandberg <Andreas.Sandberg@arm.com>
Tue, 25 Sep 2012 16:49:40 +0000 (11:49 -0500)
commit5f32eceeda92f45d253a0835c6643e786a91ba49
treee407bf938291dc1d8ea2cf4feb81c4adb01553d4
parentd060a28a2938aff5446e2b800176208c72b698da
sim: Remove SimObject::setMemoryMode

Remove SimObject::setMemoryMode from the main SimObject class since it
is only valid for the System class. In addition to removing the method
from the C++ sources, this patch also removes getMemoryMode and
changeTiming from SimObject.py and updates the simulation code to call
the (get|set)MemoryMode method on the System object instead.
src/python/m5/SimObject.py
src/python/m5/simulate.py
src/sim/sim_object.cc
src/sim/sim_object.hh