diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2011-09-27 00:16:33 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2011-09-27 00:16:33 -0700 |
commit | ea79850f903a6015833b339a53dbdb71adecd036 (patch) | |
tree | e8d82d3be1d855e450c0cacc77c6407d009f24c6 /src/sim/faults.hh | |
parent | 997cbe1c09f6ffff6bee11bb374e3a32601d0f06 (diff) | |
download | gem5-ea79850f903a6015833b339a53dbdb71adecd036.tar.xz |
Faults: Make the generic faults more consistent between SE and FS.
All of the classes will now be available in both modes, and only
GenericPageTableFault will continue to check the mode for conditional
compilation. It uses a process object to handle the fault in SE mode, and
for now those aren't available in FS mode.
Diffstat (limited to 'src/sim/faults.hh')
-rw-r--r-- | src/sim/faults.hh | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/sim/faults.hh b/src/sim/faults.hh index 2d91b8d46..0b2d3be10 100644 --- a/src/sim/faults.hh +++ b/src/sim/faults.hh @@ -82,8 +82,6 @@ class ReExec : public FaultBase StaticInstPtr inst = StaticInst::nullStaticInstPtr); }; - -#if !FULL_SYSTEM class GenericPageTableFault : public FaultBase { private: @@ -105,6 +103,5 @@ class GenericAlignmentFault : public FaultBase void invoke(ThreadContext * tc, StaticInstPtr inst = StaticInst::nullStaticInstPtr); }; -#endif #endif // __FAULTS_HH__ |