diff options
Diffstat (limited to 'src/arch/sparc/faults.hh')
-rw-r--r-- | src/arch/sparc/faults.hh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/arch/sparc/faults.hh b/src/arch/sparc/faults.hh index 3c0d9674f..5facc081d 100644 --- a/src/arch/sparc/faults.hh +++ b/src/arch/sparc/faults.hh @@ -246,9 +246,12 @@ class FillNOther : public EnumeratedFault<FillNOther> class TrapInstruction : public EnumeratedFault<TrapInstruction> { - public: TrapInstruction(uint32_t n) : EnumeratedFault<TrapInstruction>(n) {;} + //In SE, trap instructions are requesting services from the OS. +#if !FULL_SYSTEM + void invoke(ThreadContext * tc); +#endif }; #if !FULL_SYSTEM |