diff options
Diffstat (limited to 'src/arch/sparc/faults.hh')
-rw-r--r-- | src/arch/sparc/faults.hh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/arch/sparc/faults.hh b/src/arch/sparc/faults.hh index 148983f4f..1fee832d3 100644 --- a/src/arch/sparc/faults.hh +++ b/src/arch/sparc/faults.hh @@ -276,6 +276,19 @@ class TrapInstruction : public EnumeratedFault<TrapInstruction> StaticInstPtr inst = StaticInst::nullStaticInstPtr); }; +void enterREDState(ThreadContext *tc); + +void doREDFault(ThreadContext *tc, TrapType tt); + +void doNormalFault(ThreadContext *tc, TrapType tt, bool gotoHpriv); + +void getREDVector(MiscReg TT, Addr &PC, Addr &NPC); + +void getHyperVector(ThreadContext * tc, Addr &PC, Addr &NPC, MiscReg TT); + +void getPrivVector(ThreadContext *tc, Addr &PC, Addr &NPC, MiscReg TT, + MiscReg TL); + } // namespace SparcISA #endif // __SPARC_FAULTS_HH__ |