diff options
Diffstat (limited to 'src/cpu/thread_context.hh')
-rw-r--r-- | src/cpu/thread_context.hh | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/cpu/thread_context.hh b/src/cpu/thread_context.hh index 2b9f41b70..d06194012 100644 --- a/src/cpu/thread_context.hh +++ b/src/cpu/thread_context.hh @@ -115,9 +115,7 @@ class ThreadContext virtual BaseCPU *getCpuPtr() = 0; - virtual void setCpuId(int id) = 0; - - virtual int readCpuId() = 0; + virtual int cpuId() = 0; virtual TheISA::ITB *getITBPtr() = 0; @@ -300,9 +298,7 @@ class ProxyThreadContext : public ThreadContext BaseCPU *getCpuPtr() { return actualTC->getCpuPtr(); } - void setCpuId(int id) { actualTC->setCpuId(id); } - - int readCpuId() { return actualTC->readCpuId(); } + int cpuId() { return actualTC->cpuId(); } TheISA::ITB *getITBPtr() { return actualTC->getITBPtr(); } |