gem5
|
#include <faults.hh>
Additional Inherited Members | |
Public Types inherited from ArmISA::ArmFault | |
enum | FaultSource { AlignmentFault = 0, InstructionCacheMaintenance, SynchExtAbtOnTranslTableWalkLL, SynchPtyErrOnTranslTableWalkLL = SynchExtAbtOnTranslTableWalkLL + 4, TranslationLL = SynchPtyErrOnTranslTableWalkLL + 4, AccessFlagLL = TranslationLL + 4, DomainLL = AccessFlagLL + 4, PermissionLL = DomainLL + 4, DebugEvent = PermissionLL + 4, SynchronousExternalAbort, TLBConflictAbort, SynchPtyErrOnMemoryAccess, AsynchronousExternalAbort, AsynchPtyErrOnMemoryAccess, AddressSizeLL, PrefetchTLBMiss = AddressSizeLL + 4, PrefetchUncacheable, NumFaultSources, FaultSourceInvalid = 0xff } |
Generic fault source enums used to index into {short/long/aarch64}DescFaultSources[] to get the actual encodings based on the current register width state and the translation table format in use. More... | |
enum | AnnotationIDs { S1PTW, OVA, SAS, SSE, SRT, SF, AR } |
enum | TranMethod { LpaeTran, VmsaTran, UnknownTran } |
Static Public Attributes inherited from ArmISA::ArmFault | |
static uint8_t | shortDescFaultSources [NumFaultSources] |
Encodings of the fault sources when the short-desc. More... | |
static uint8_t | longDescFaultSources [NumFaultSources] |
Encodings of the fault sources when the long-desc. More... | |
static uint8_t | aarch64FaultSources [NumFaultSources] |
Encodings of the fault sources in AArch64 state. More... | |
Protected Member Functions inherited from ArmISA::ArmFault | |
Addr | getVector (ThreadContext *tc) |
Addr | getVector64 (ThreadContext *tc) |
Protected Attributes inherited from ArmISA::ArmFault | |
ExtMachInst | machInst |
uint32_t | issRaw |
bool | from64 |
bool | to64 |
ExceptionLevel | fromEL |
ExceptionLevel | toEL |
OperatingMode | fromMode |
Static Protected Attributes inherited from ArmISA::ArmFaultVals< FastInterrupt > | |
static FaultVals | vals |
|
virtual |
Reimplemented from ArmISA::ArmFaultVals< FastInterrupt >.
Definition at line 1332 of file faults.cc.
References ArmSystem::haveSecurity(), ArmISA::MISCREG_SCR, and ThreadContext::readMiscRegNoEffect().
|
virtual |
Reimplemented from ArmISA::ArmFaultVals< FastInterrupt >.
Definition at line 1342 of file faults.cc.
References ArmSystem::haveSecurity(), ArmSystem::haveVirtualization(), ArmISA::MISCREG_SCR, and ThreadContext::readMiscRegNoEffect().
|
virtual |
Reimplemented from ArmISA::ArmFault.
Definition at line 1318 of file faults.cc.
References ArmISA::inSecureState(), ArmISA::MISCREG_CPSR, ArmISA::MISCREG_HCR, ArmISA::MISCREG_SCR, ArmISA::MODE_HYP, and ThreadContext::readMiscRegNoEffect().
|
virtual |
Reimplemented from ArmISA::ArmFaultVals< FastInterrupt >.
Definition at line 1306 of file faults.cc.
References ArmISA::ArmFault::from64, ArmSystem::haveSecurity(), ArmISA::MISCREG_SCR, ArmISA::MISCREG_SCR_EL3, and ThreadContext::readMiscRegNoEffect().