summaryrefslogtreecommitdiff
path: root/cpu/base_cpu.hh
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/base_cpu.hh')
-rw-r--r--cpu/base_cpu.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/base_cpu.hh b/cpu/base_cpu.hh
index 5a20aaa54..143fc9662 100644
--- a/cpu/base_cpu.hh
+++ b/cpu/base_cpu.hh
@@ -73,7 +73,7 @@ class BaseCPU : public SimObject
std::vector<ExecContext *> execContexts;
public:
- virtual void execCtxStatusChg() {}
+ virtual void execCtxStatusChg(int thread_num) {}
public:
@@ -94,7 +94,7 @@ class BaseCPU : public SimObject
virtual void regStats();
- virtual void registerExecContexts();
+ void registerExecContexts();
/// Prepare for another CPU to take over execution. Called by
/// takeOverFrom() on its argument.