changeset 58cf8f4a7c33 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=58cf8f4a7c33
description:
        MIPS: Guard SystemCallFault::invoke consistently.

        Make sure it's declared iff it's also defined.

diffstat:

 src/arch/mips/faults.hh |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r 1b0bc57e9cbe -r 58cf8f4a7c33 src/arch/mips/faults.hh
--- a/src/arch/mips/faults.hh   Mon Sep 19 05:53:54 2011 -0700
+++ b/src/arch/mips/faults.hh   Mon Sep 19 06:09:15 2011 -0700
@@ -262,8 +262,10 @@
     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
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to