summaryrefslogtreecommitdiff
path: root/src/sim/sim_object.cc
diff options
context:
space:
mode:
authorAndreas Sandberg <Andreas.Sandberg@arm.com>2012-09-25 11:49:40 -0500
committerAndreas Sandberg <Andreas.Sandberg@arm.com>2012-09-25 11:49:40 -0500
commit5f32eceeda92f45d253a0835c6643e786a91ba49 (patch)
treee407bf938291dc1d8ea2cf4feb81c4adb01553d4 /src/sim/sim_object.cc
parentd060a28a2938aff5446e2b800176208c72b698da (diff)
downloadgem5-5f32eceeda92f45d253a0835c6643e786a91ba49.tar.xz
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.
Diffstat (limited to 'src/sim/sim_object.cc')
-rw-r--r--src/sim/sim_object.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/sim/sim_object.cc b/src/sim/sim_object.cc
index 571989b02..866ce0ce2 100644
--- a/src/sim/sim_object.cc
+++ b/src/sim/sim_object.cc
@@ -164,12 +164,6 @@ SimObject::resume()
}
void
-SimObject::setMemoryMode(Enums::MemoryMode new_mode)
-{
- panic("setMemoryMode() should only be called on systems");
-}
-
-void
SimObject::switchOut()
{
panic("Unimplemented!");