summaryrefslogtreecommitdiff
path: root/cpu/ozone/thread_state.hh
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2006-04-24 17:11:31 -0400
committerKevin Lim <ktlim@umich.edu>2006-04-24 17:11:31 -0400
commit31e09892d750d0e6dc7de3d455e34808c159a420 (patch)
tree13e98cd1a807152dd271335a323791dc7debdc88 /cpu/ozone/thread_state.hh
parente704960c80033dd008907caa7c24742a1020d302 (diff)
downloadgem5-31e09892d750d0e6dc7de3d455e34808c159a420.tar.xz
Include option for disabling PC symbols.
cpu/inst_seq.hh: cpu/o3/cpu.cc: cpu/ozone/cpu_builder.cc: cpu/ozone/thread_state.hh: SE build fixes. --HG-- extra : convert_revision : a4df6128533105f849b5469f62d83dffe299b7df
Diffstat (limited to 'cpu/ozone/thread_state.hh')
-rw-r--r--cpu/ozone/thread_state.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpu/ozone/thread_state.hh b/cpu/ozone/thread_state.hh
index c6d23a63b..269fc6459 100644
--- a/cpu/ozone/thread_state.hh
+++ b/cpu/ozone/thread_state.hh
@@ -6,9 +6,10 @@
#include "arch/isa_traits.hh"
#include "cpu/exec_context.hh"
#include "cpu/thread_state.hh"
+#include "sim/process.hh"
class Event;
-class Process;
+//class Process;
#if FULL_SYSTEM
class EndQuiesceEvent;
@@ -40,7 +41,7 @@ struct OzoneThreadState : public ThreadState {
}
#else
OzoneThreadState(FullCPU *_cpu, int _thread_num, Process *_process, int _asid)
- : ThreadState(-1, _thread_num, NULL, _process, _asid),
+ : ThreadState(-1, _thread_num, _process->getMemory(), _process, _asid),
cpu(_cpu), inSyscall(0), trapPending(0)
{
memset(&regs, 0, sizeof(TheISA::RegFile));