summaryrefslogtreecommitdiff
path: root/src/arch/mips/faults.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-09-19 06:09:15 -0700
committerGabe Black <gblack@eecs.umich.edu>2011-09-19 06:09:15 -0700
commit4ad36a4684c554bce2c9e3780f51c58195fe8205 (patch)
tree7f3a2a6de03fea701a474b02b77adcc2d329c9b0 /src/arch/mips/faults.hh
parent49967ed26833d97a373be150ab8eeae10612e48f (diff)
downloadgem5-4ad36a4684c554bce2c9e3780f51c58195fe8205.tar.xz
MIPS: Guard SystemCallFault::invoke consistently.
Make sure it's declared iff it's also defined.
Diffstat (limited to 'src/arch/mips/faults.hh')
-rw-r--r--src/arch/mips/faults.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/mips/faults.hh b/src/arch/mips/faults.hh
index 028ba9e43..8b7c22ec4 100644
--- a/src/arch/mips/faults.hh
+++ b/src/arch/mips/faults.hh
@@ -262,8 +262,10 @@ class SystemCallFault : public MipsFault
FaultName name() const {return _name;}
FaultVect vect() {return _vect;}
FaultStat & countStat() {return _count;}
+#if FULL_SYSTEM
void invoke(ThreadContext * tc,
StaticInstPtr inst = StaticInst::nullStaticInstPtr);
+#endif
};
class SoftResetFault : public MipsFault