From 5f32eceeda92f45d253a0835c6643e786a91ba49 Mon Sep 17 00:00:00 2001 From: Andreas Sandberg Date: Tue, 25 Sep 2012 11:49:40 -0500 Subject: 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/sim/sim_object.cc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/sim/sim_object.cc') 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 @@ -163,12 +163,6 @@ SimObject::resume() state = Running; } -void -SimObject::setMemoryMode(Enums::MemoryMode new_mode) -{ - panic("setMemoryMode() should only be called on systems"); -} - void SimObject::switchOut() { -- cgit v1.2.3