diff options
Diffstat (limited to 'src/sim')
-rw-r--r-- | src/sim/sim_object.cc | 6 | ||||
-rw-r--r-- | src/sim/sim_object.hh | 7 |
2 files changed, 0 insertions, 13 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!"); diff --git a/src/sim/sim_object.hh b/src/sim/sim_object.hh index 1640be404..4fa2b7f05 100644 --- a/src/sim/sim_object.hh +++ b/src/sim/sim_object.hh @@ -256,13 +256,6 @@ class SimObject : public EventManager, public Serializable virtual void resume(); /** - * Change the memory mode the simulator operates in. - * - * @note Should only be implemented in the System object. - */ - virtual void setMemoryMode(Enums::MemoryMode new_mode); - - /** * Prepare a CPU model to be switched out, invoked on active CPUs * that are about to be replaced. * |