|
gem5 v25.0.0.1
|
#include <faults.hh>
Public Member Functions | |
| AddressFault (const Addr vaddr, ExceptionCode code, const Addr gpaddr=0x0, const bool two_stage=false) | |
| bool | mustSetGva () const override |
| RegVal | trap_value () const override |
| RegVal | trap_value2 () const override |
| Public Member Functions inherited from gem5::FaultBase | |
| virtual | ~FaultBase () |
Private Attributes | |
| const Addr | _vaddr |
| const Addr | _gpaddr |
| const bool | _two_stage |
Additional Inherited Members | |
| Protected Member Functions inherited from gem5::RiscvISA::RiscvFault | |
| RiscvFault (FaultName n, FaultType ft, ExceptionCode c) | |
| FaultName | name () const override |
| bool | isInterrupt () const |
| bool | isNonMaskableInterrupt () const |
| bool | isResumableNonMaskableInterrupt (ISA *isa) const |
| bool | isPlainException () const |
| bool | isGuestPageFault () const |
| ExceptionCode | exception () const |
| virtual void | invokeSE (ThreadContext *tc, const StaticInstPtr &inst) |
| void | invoke (ThreadContext *tc, const StaticInstPtr &inst) override |
| Protected Attributes inherited from gem5::RiscvISA::RiscvFault | |
| const FaultName | _name |
| const FaultType | _fault_type |
| ExceptionCode | _code |
|
inline |
Definition at line 221 of file faults.hh.
References _gpaddr, _two_stage, _vaddr, gem5::RiscvISA::OTHERS, gem5::RiscvISA::RiscvFault::RiscvFault(), and gem5::RiscvISA::vaddr.
|
inlineoverridevirtual |
Reimplemented from gem5::RiscvISA::RiscvFault.
Definition at line 228 of file faults.hh.
References gem5::RiscvISA::RiscvFault::_code, _two_stage, gem5::RiscvISA::INST_ACCESS, gem5::RiscvISA::INST_ADDR_MISALIGNED, gem5::RiscvISA::INST_GUEST_PAGE, gem5::RiscvISA::INST_PAGE, gem5::RiscvISA::LOAD_ACCESS, gem5::RiscvISA::LOAD_ADDR_MISALIGNED, gem5::RiscvISA::LOAD_GUEST_PAGE, gem5::RiscvISA::LOAD_PAGE, gem5::RiscvISA::STORE_ACCESS, gem5::RiscvISA::STORE_ADDR_MISALIGNED, gem5::RiscvISA::STORE_GUEST_PAGE, and gem5::RiscvISA::STORE_PAGE.
|
inlineoverridevirtual |
Reimplemented from gem5::RiscvISA::RiscvFault.
Definition at line 242 of file faults.hh.
References _vaddr.
|
inlineoverridevirtual |
Reimplemented from gem5::RiscvISA::RiscvFault.
Definition at line 243 of file faults.hh.
References _gpaddr.
|
private |
Definition at line 217 of file faults.hh.
Referenced by AddressFault(), and trap_value2().
|
private |
Definition at line 218 of file faults.hh.
Referenced by AddressFault(), and mustSetGva().
|
private |
Definition at line 216 of file faults.hh.
Referenced by AddressFault(), and trap_value().