From cd0b65508e3f9d9f72cd834aeccf9fd1f0349351 Mon Sep 17 00:00:00 2001 From: Ron Dreslinski Date: Fri, 17 Nov 2006 21:55:28 -0500 Subject: Make an initialization pass for the thread context and set the [phys,virt]Port correctly src/cpu/simple/atomic.cc: src/cpu/simple/timing.cc: Call the thread context initialization --HG-- extra : convert_revision : d7dc2a8b893dc670077b7f6150d4b710a1778620 --- src/cpu/simple_thread.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cpu/simple_thread.hh') diff --git a/src/cpu/simple_thread.hh b/src/cpu/simple_thread.hh index e8757c8c2..b9ce4e0ce 100644 --- a/src/cpu/simple_thread.hh +++ b/src/cpu/simple_thread.hh @@ -118,6 +118,8 @@ class SimpleThread : public ThreadState SimpleThread(BaseCPU *_cpu, int _thread_num, System *_system, TheISA::ITB *_itb, TheISA::DTB *_dtb, bool use_kernel_stats = true); + + void init(); #else SimpleThread(BaseCPU *_cpu, int _thread_num, Process *_process, int _asid); #endif -- cgit v1.2.3