diff options
author | Korey Sewell <ksewell@umich.edu> | 2011-06-19 21:43:39 -0400 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2011-06-19 21:43:39 -0400 |
commit | e8b7df072b17bfd86b294fc47cf29d3d013f646a (patch) | |
tree | 59013427454f915059addd33967b774f7edfeaa0 /src/cpu/inorder/cpu.hh | |
parent | d71b95d84d5aac6926f6cd4c7faca20f2c43d8dc (diff) | |
download | gem5-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.hh | 12 |
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; |