summaryrefslogtreecommitdiff
path: root/src/arch/mips/faults.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-09-19 06:17:21 -0700
committerGabe Black <gblack@eecs.umich.edu>2011-09-19 06:17:21 -0700
commit7d19ff170d21829b5980ad8916ab57e69354f1a0 (patch)
treeecb58a4d190161952d40b08608a4926d9a595a51 /src/arch/mips/faults.hh
parent48b6636d01da9b1200774d874cecb7f2e945c785 (diff)
downloadgem5-7d19ff170d21829b5980ad8916ab57e69354f1a0.tar.xz
MIPS: Always compile in setExceptionState, including in SE mode.
Also fix the newly exposed and preexisting compile errors. This code hasn't been exposed in a while, and it's not up to date with the rest of gem5.
Diffstat (limited to 'src/arch/mips/faults.hh')
-rw-r--r--src/arch/mips/faults.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/mips/faults.hh b/src/arch/mips/faults.hh
index dfb3b4ab5..6182108f7 100644
--- a/src/arch/mips/faults.hh
+++ b/src/arch/mips/faults.hh
@@ -62,9 +62,9 @@ class MipsFaultBase : public FaultBase
void invoke(ThreadContext * tc,
StaticInst::StaticInstPtr inst = StaticInst::nullStaticInstPtr)
{}
- void setExceptionState(ThreadContext *, uint8_t);
void setHandlerPC(Addr, ThreadContext *);
#endif
+ void setExceptionState(ThreadContext *, uint8_t);
};
template <typename T>