diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-06-22 18:10:17 -0400 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-06-22 18:10:17 -0400 |
commit | e6c04b1584998ed2ea532da4070b356c75906f63 (patch) | |
tree | 940545a432e9697fd8b630e04757ec18f385ece3 /src/cpu/simple_thread.cc | |
parent | 6e95bcd333784e1292293980cb2c2fba9f2ac467 (diff) | |
download | gem5-e6c04b1584998ed2ea532da4070b356c75906f63.tar.xz |
Change ThreadState constructor ordering to match the rest of the ThreadStates.
--HG--
extra : convert_revision : 63d98aa8b6a694c285d95a2a57e1b3aaef4cee3b
Diffstat (limited to 'src/cpu/simple_thread.cc')
-rw-r--r-- | src/cpu/simple_thread.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/simple_thread.cc b/src/cpu/simple_thread.cc index 48383ca93..db28b23e8 100644 --- a/src/cpu/simple_thread.cc +++ b/src/cpu/simple_thread.cc @@ -107,7 +107,7 @@ SimpleThread::SimpleThread(BaseCPU *_cpu, int _thread_num, System *_sys, #else SimpleThread::SimpleThread(BaseCPU *_cpu, int _thread_num, Process *_process, int _asid, MemObject* memobj) - : ThreadState(-1, _thread_num, memobj, _process, _asid), + : ThreadState(-1, _thread_num, _process, _asid, memobj), cpu(_cpu) { /* Use this port to for syscall emulation writes to memory. */ @@ -124,7 +124,7 @@ SimpleThread::SimpleThread(BaseCPU *_cpu, int _thread_num, } SimpleThread::SimpleThread(RegFile *regFile) - : ThreadState(-1, -1, NULL, NULL, -1), cpu(NULL) + : ThreadState(-1, -1, NULL, -1, NULL), cpu(NULL) { regs = *regFile; tc = new ProxyThreadContext<SimpleThread>(this); |