summaryrefslogtreecommitdiff
path: root/src/cpu/inorder/cpu.hh
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2011-06-19 21:43:39 -0400
committerKorey Sewell <ksewell@umich.edu>2011-06-19 21:43:39 -0400
commite8b7df072b17bfd86b294fc47cf29d3d013f646a (patch)
tree59013427454f915059addd33967b774f7edfeaa0 /src/cpu/inorder/cpu.hh
parentd71b95d84d5aac6926f6cd4c7faca20f2c43d8dc (diff)
downloadgem5-e8b7df072b17bfd86b294fc47cf29d3d013f646a.tar.xz
inorder: make InOrder CPU FS compilable/visible
make syscall a SE mode only functionality copy over basic FS functions (hwrei) to make FS compile
Diffstat (limited to 'src/cpu/inorder/cpu.hh')
-rw-r--r--src/cpu/inorder/cpu.hh12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/cpu/inorder/cpu.hh b/src/cpu/inorder/cpu.hh
index f0ac28adb..f6b7a4e95 100644
--- a/src/cpu/inorder/cpu.hh
+++ b/src/cpu/inorder/cpu.hh
@@ -777,9 +777,6 @@ class InOrderCPU : public BaseCPU
#if FULL_SYSTEM
/** Pointer to the system. */
System *system;
-
- /** Pointer to physical memory. */
- PhysicalMemory *physmem;
#endif
/** The global sequence number counter. */
@@ -793,8 +790,13 @@ class InOrderCPU : public BaseCPU
unsigned resReqCount;
#endif
- /** Counter of how many stages have completed switching out. */
- int switchCount;
+ Addr lockAddr;
+
+ /** Temporary fix for the lock flag, works in the UP case. */
+ bool lockFlag;
+
+ /** Counter of how many stages have completed draining */
+ int drainCount;
/** Pointers to all of the threads in the CPU. */
std::vector<Thread *> thread;