gem5
|
#include <faults.hh>
Public Member Functions | |
TrapInstruction (uint32_t n) | |
void | invoke (ThreadContext *tc, const StaticInstPtr &inst=StaticInst::nullStaticInstPtr) |
Public Member Functions inherited from SparcISA::EnumeratedFault< TrapInstruction > | |
EnumeratedFault (uint32_t n) | |
TrapType | trapType () |
Public Member Functions inherited from SparcISA::SparcFault< TrapInstruction > | |
FaultName | name () const |
FaultPriority | priority () |
FaultStat & | countStat () |
PrivilegeLevel | getNextLevel (PrivilegeLevel current) |
Additional Inherited Members | |
Public Types inherited from SparcISA::SparcFaultBase | |
enum | PrivilegeLevel { U, User = U, P, Privileged = P, H, Hyperprivileged = H, NumLevels, SH = -1, ShouldntHappen = SH } |
Protected Attributes inherited from SparcISA::EnumeratedFault< TrapInstruction > | |
uint32_t | _n |
Static Protected Attributes inherited from SparcISA::SparcFault< TrapInstruction > | |
static FaultVals | vals |
|
inline |
|
virtual |
Reimplemented from SparcISA::SparcFaultBase.
Definition at line 798 of file faults.cc.
References GenericISA::DelaySlotPCState< MachInst >::advance(), FullSystem, ThreadContext::getProcessPtr(), SparcProcess::handleTrap(), MipsISA::p, pc, ThreadContext::pcState(), and ArmISA::sp.