gem5  v20.1.0.0
Public Member Functions | List of all members
RiscvISA::SyscallFault Class Reference

#include <faults.hh>

Inheritance diagram for RiscvISA::SyscallFault:
RiscvISA::RiscvFault FaultBase

Public Member Functions

 SyscallFault (PrivilegeMode prv)
void invokeSE (ThreadContext *tc, const StaticInstPtr &inst) override
- Public Member Functions inherited from FaultBase
virtual ~FaultBase ()

Additional Inherited Members

- Protected Member Functions inherited from RiscvISA::RiscvFault
 RiscvFault (FaultName n, bool i, ExceptionCode c)
FaultName name () const override
bool isInterrupt () const
ExceptionCode exception () const
virtual RegVal trap_value () const
void invoke (ThreadContext *tc, const StaticInstPtr &inst) override
- Protected Attributes inherited from RiscvISA::RiscvFault
const FaultName _name
const bool _interrupt
ExceptionCode _code

Detailed Description

Definition at line 223 of file faults.hh.

Constructor & Destructor Documentation

◆ SyscallFault()

RiscvISA::SyscallFault::SyscallFault ( PrivilegeMode  prv)

Member Function Documentation

◆ invokeSE()

void RiscvISA::SyscallFault::invokeSE ( ThreadContext tc,
const StaticInstPtr inst 

Reimplemented from RiscvISA::RiscvFault.

Definition at line 195 of file

References ThreadContext::syscall().

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

Generated on Wed Sep 30 2020 14:03:08 for gem5 by doxygen 1.8.17