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

#include <faults.hh>

Inheritance diagram for X86ISA::PageFault:
X86ISA::X86Fault X86ISA::X86FaultBase FaultBase

Public Member Functions

 PageFault (Addr _addr, uint32_t _errorCode)
 
 PageFault (Addr _addr, bool present, BaseTLB::Mode mode, bool user, bool reserved)
 
void invoke (ThreadContext *tc, const StaticInstPtr &inst=StaticInst::nullStaticInstPtr)
 
virtual std::string describe () const
 
- Public Member Functions inherited from X86ISA::X86FaultBase
virtual uint8_t getVector () const
 Get the vector of an interrupt. More...
 

Protected Member Functions

 BitUnion32 (PageFaultErrorCode) Bitfield< 0 > present
 
 EndBitUnion (PageFaultErrorCode) Addr addr
 
- Protected Member Functions inherited from X86ISA::X86Fault
 X86Fault (const char *name, const char *mnem, const uint8_t vector, uint64_t _errorCode=(uint64_t)-1)
 
- Protected Member Functions inherited from X86ISA::X86FaultBase
 X86FaultBase (const char *_faultName, const char *_mnem, const uint8_t _vector, uint64_t _errorCode=(uint64_t)-1)
 
const char * name () const
 
virtual bool isBenign ()
 
virtual const char * mnemonic () const
 
virtual bool isSoft ()
 

Protected Attributes

Bitfield< 1 > write
 
Bitfield< 2 > user
 
Bitfield< 3 > reserved
 
Bitfield< 4 > fetch
 
- Protected Attributes inherited from X86ISA::X86FaultBase
const char * faultName
 
const char * mnem
 
uint8_t vector
 
uint64_t errorCode
 

Detailed Description

Definition at line 304 of file faults.hh.

Constructor & Destructor Documentation

X86ISA::PageFault::PageFault ( Addr  _addr,
uint32_t  _errorCode 
)
inline

Definition at line 318 of file faults.hh.

X86ISA::PageFault::PageFault ( Addr  _addr,
bool  present,
BaseTLB::Mode  mode,
bool  user,
bool  reserved 
)
inline

Member Function Documentation

X86ISA::PageFault::BitUnion32 ( PageFaultErrorCode  )
protected
std::string X86ISA::PageFault::describe ( ) const
virtual

Reimplemented from X86ISA::X86FaultBase.

Definition at line 169 of file faults.cc.

References X86ISA::addr, ccprintf(), X86ISA::X86FaultBase::describe(), and ArmISA::ss.

X86ISA::PageFault::EndBitUnion ( PageFaultErrorCode  )
protected
void X86ISA::PageFault::invoke ( ThreadContext tc,
const StaticInstPtr inst = StaticInst::nullStaticInstPtr 
)
virtual

Member Data Documentation

Bitfield<4> X86ISA::PageFault::fetch
protected

Definition at line 312 of file faults.hh.

Bitfield<3> X86ISA::PageFault::reserved
protected

Definition at line 311 of file faults.hh.

Referenced by PageFault().

Bitfield<2> X86ISA::PageFault::user
protected

Definition at line 310 of file faults.hh.

Referenced by PageFault().

Bitfield<1> X86ISA::PageFault::write
protected

Definition at line 309 of file faults.hh.


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

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