summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cpu/base.cc5
-rw-r--r--src/cpu/base.hh1
2 files changed, 1 insertions, 5 deletions
diff --git a/src/cpu/base.cc b/src/cpu/base.cc
index 5d6a85703..80726ac2b 100644
--- a/src/cpu/base.cc
+++ b/src/cpu/base.cc
@@ -318,11 +318,8 @@ BaseCPU::init()
verifyMemoryMode();
}
-}
-void
-BaseCPU::initState()
-{
+ //These calls eventually need to be moved to initState
if (FullSystem && !params()->switched_out) {
for (auto *tc: threadContexts)
TheISA::initCPU(tc, tc->contextId());
diff --git a/src/cpu/base.hh b/src/cpu/base.hh
index f47bc8e7c..5b15f4186 100644
--- a/src/cpu/base.hh
+++ b/src/cpu/base.hh
@@ -314,7 +314,6 @@ class BaseCPU : public ClockedObject
virtual ~BaseCPU();
void init() override;
- void initState() override;
void startup() override;
void regStats() override;