diff options
Diffstat (limited to 'src/cpu/thread_state.cc')
-rw-r--r-- | src/cpu/thread_state.cc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/cpu/thread_state.cc b/src/cpu/thread_state.cc index dedeccb3e..0abe2bf81 100644 --- a/src/cpu/thread_state.cc +++ b/src/cpu/thread_state.cc @@ -51,11 +51,11 @@ ThreadState::ThreadState(BaseCPU *cpu, ThreadID _tid, Process *_process) baseCpu(cpu), _threadId(_tid), lastActivate(0), lastSuspend(0), #if FULL_SYSTEM profile(NULL), profileNode(NULL), profilePC(0), quiesceEvent(NULL), - kernelStats(NULL), physPort(NULL), virtPort(NULL), + kernelStats(NULL), virtPort(NULL), #else port(NULL), process(_process), #endif - funcExeInst(0), storeCondFailures(0) + physPort(NULL), funcExeInst(0), storeCondFailures(0) { } @@ -104,14 +104,6 @@ ThreadState::unserialize(Checkpoint *cp, const std::string §ion) #endif } -#if FULL_SYSTEM -void -ThreadState::connectMemPorts(ThreadContext *tc) -{ - connectPhysPort(); - connectVirtPort(tc); -} - void ThreadState::connectPhysPort() { @@ -126,6 +118,14 @@ ThreadState::connectPhysPort() connectToMemFunc(physPort); } +#if FULL_SYSTEM +void +ThreadState::connectMemPorts(ThreadContext *tc) +{ + connectPhysPort(); + connectVirtPort(tc); +} + void ThreadState::connectVirtPort(ThreadContext *tc) { |