- } else {
- kernelStats = NULL;
- }
-}
-#else
-SimpleThread::SimpleThread(BaseCPU *_cpu, int _thread_num,
- Process *_process, int _asid)
- : ThreadState(_cpu, -1, _thread_num, _process, _asid),
- cpu(_cpu)
-{
- regs.clear();
- tc = new ProxyThreadContext<SimpleThread>(this);
-}
-
-#endif
-
-SimpleThread::SimpleThread()
-#if FULL_SYSTEM
- : ThreadState(NULL, -1, -1)
-#else
- : ThreadState(NULL, -1, -1, NULL, -1)
-#endif
-{
- tc = new ProxyThreadContext<SimpleThread>(this);
- regs.clear();