summaryrefslogtreecommitdiff
path: root/src/cpu/simple_thread.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/simple_thread.hh')
-rw-r--r--src/cpu/simple_thread.hh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cpu/simple_thread.hh b/src/cpu/simple_thread.hh
index fe22e6c43..f002cbdce 100644
--- a/src/cpu/simple_thread.hh
+++ b/src/cpu/simple_thread.hh
@@ -117,8 +117,7 @@ class SimpleThread : public ThreadState
AlphaITB *_itb, AlphaDTB *_dtb,
bool use_kernel_stats = true);
#else
- SimpleThread(BaseCPU *_cpu, int _thread_num, Process *_process, int _asid,
- MemObject *memobj);
+ SimpleThread(BaseCPU *_cpu, int _thread_num, Process *_process, int _asid);
#endif
SimpleThread();
@@ -174,6 +173,9 @@ class SimpleThread : public ThreadState
bool simPalCheck(int palFunc);
#else
+ // Override this function.
+ TranslatingPort *getMemPort();
+
Fault translateInstReq(RequestPtr &req)
{
return process->pTable->translate(req);