diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-06-08 16:58:50 -0400 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-06-08 16:58:50 -0400 |
commit | cf79dba504e2ed47ea82dae6cfc71662d1bc25a0 (patch) | |
tree | 2e273cc1ae8045bcaa920cb75d73dc552820a0f9 /src/cpu/thread_state.hh | |
parent | bf6e176554253bed701338a8f481634e1cea8b48 (diff) | |
download | gem5-cf79dba504e2ed47ea82dae6cfc71662d1bc25a0.tar.xz |
Get O3 CPU mostly working in full system, and fix an FP bug that showed up.
It still does not yet handle retries.
src/cpu/base_dyn_inst.hh:
Get working in full-system mode and fix some FP bugs.
src/cpu/checker/cpu.cc:
src/cpu/checker/cpu.hh:
src/cpu/checker/thread_context.hh:
src/cpu/o3/alpha_cpu.hh:
src/cpu/o3/alpha_cpu_impl.hh:
src/cpu/o3/commit_impl.hh:
src/cpu/o3/cpu.cc:
src/cpu/o3/cpu.hh:
src/cpu/o3/fetch_impl.hh:
src/cpu/o3/thread_state.hh:
src/cpu/ozone/cpu.hh:
src/cpu/ozone/thread_state.hh:
src/cpu/thread_state.hh:
Get working in full system.
src/cpu/checker/o3_cpu_builder.cc:
Checker does not take a MemObject as a simobj parameter.
src/cpu/o3/alpha_dyn_inst.hh:
Fix up float regs.
src/cpu/o3/regfile.hh:
Fix up an fp error, print out more useful output messages.
--HG--
extra : convert_revision : d7cc152a051c697f18b7ee9e14050fbf3ffa5966
Diffstat (limited to 'src/cpu/thread_state.hh')
-rw-r--r-- | src/cpu/thread_state.hh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/cpu/thread_state.hh b/src/cpu/thread_state.hh index 01ad4625c..de9b2f14e 100644 --- a/src/cpu/thread_state.hh +++ b/src/cpu/thread_state.hh @@ -88,8 +88,12 @@ struct ThreadState { Kernel::Statistics *getKernelStats() { return kernelStats; } + FunctionalPort *getPhysPort() { return physPort; } + void setPhysPort(FunctionalPort *port) { physPort = port; } + VirtualPort *getVirtPort(ThreadContext *tc = NULL) { return virtPort; } + void setVirtPort(VirtualPort *port) { virtPort = port; } #else Process *getProcessPtr() { return process; } @@ -149,6 +153,7 @@ struct ThreadState { // Index of hardware thread context on the CPU that this represents. int tid; + public: /** Last time activate was called on this thread. */ Tick lastActivate; @@ -187,6 +192,7 @@ struct ThreadState { */ TheISA::MachInst inst; + public: /** * Temporary storage to pass the source address from copy_load to * copy_store. @@ -199,7 +205,6 @@ struct ThreadState { */ Addr copySrcPhysAddr; - public: /* * number of executed instructions, for matching with syscall trace * points in EIO files. |