gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
SparcISA::TrapInstruction Class Reference

#include <faults.hh>

Inheritance diagram for SparcISA::TrapInstruction:
SparcISA::EnumeratedFault< TrapInstruction > SparcISA::SparcFault< TrapInstruction > SparcISA::SparcFaultBase FaultBase

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 ()
 
FaultStatcountStat ()
 
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
 

Detailed Description

Definition at line 269 of file faults.hh.

Constructor & Destructor Documentation

SparcISA::TrapInstruction::TrapInstruction ( uint32_t  n)
inline

Definition at line 272 of file faults.hh.

Member Function Documentation

void SparcISA::TrapInstruction::invoke ( ThreadContext tc,
const StaticInstPtr inst = StaticInst::nullStaticInstPtr 
)
virtual

The documentation for this class was generated from the following files:

Generated on Fri Jun 9 2017 13:04:37 for gem5 by doxygen 1.8.6