projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49967ed
)
MIPS: Guard SystemCallFault::invoke consistently.
author
Gabe Black
<gblack@eecs.umich.edu>
Mon, 19 Sep 2011 13:09:15 +0000
(06:09 -0700)
committer
Gabe Black
<gblack@eecs.umich.edu>
Mon, 19 Sep 2011 13:09:15 +0000
(06:09 -0700)
Make sure it's declared iff it's also defined.
src/arch/mips/faults.hh
patch
|
blob
|
history
diff --git
a/src/arch/mips/faults.hh
b/src/arch/mips/faults.hh
index 028ba9e430075b3621f6c668bee2ea528fc9184e..8b7c22ec4b61bfe06246fd182f5131f009db29ec 100644
(file)
--- 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