diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2011-09-19 06:09:15 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2011-09-19 06:09:15 -0700 |
commit | 4ad36a4684c554bce2c9e3780f51c58195fe8205 (patch) | |
tree | 7f3a2a6de03fea701a474b02b77adcc2d329c9b0 | |
parent | 49967ed26833d97a373be150ab8eeae10612e48f (diff) | |
download | gem5-4ad36a4684c554bce2c9e3780f51c58195fe8205.tar.xz |
MIPS: Guard SystemCallFault::invoke consistently.
Make sure it's declared iff it's also defined.
-rw-r--r-- | src/arch/mips/faults.hh | 2 |
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 |