The Pedigree Project 0.1
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Arm64InterruptState Class Reference
+ Inheritance diagram for Arm64InterruptState:
+ Collaboration diagram for Arm64InterruptState:

Public Member Functions

uintptr_t getStackPointer () const
 
void setStackPointer (uintptr_t value)
 
uintptr_t getInstructionPointer () const
 
void setInstructionPointer (uintptr_t value)
 
uintptr_t getBasePointer () const
 
void setBasePointer (uintptr_t value)
 
size_t getRegisterCount () const
 
processor_register_t getRegister (size_t index) const
 
void setRegister (size_t index, uintptr_t value)
 
const char * getRegisterName (size_t index) const
 
size_t getRegisterSize (size_t) const
 
bool kernelMode () const
 
size_t getInterruptNumber () const
 
uintptr_t getErrorCode () const
 
uint64_t getFlags () const
 
void setFlags (uint64_t value)
 

Static Public Member Functions

static Arm64InterruptStateconstruct (Arm64ProcessorState &state, bool userMode)
 

Public Attributes

uint64_t x [31]
 
uint64_t sp
 
uint64_t pc
 
uint64_t pstate
 
uint64_t esr
 
uint64_t far
 
uint64_t vector
 

Detailed Description

Definition at line 10 of file arm64/state.h.

Member Function Documentation

◆ construct()

Arm64InterruptState * Arm64InterruptState::construct ( Arm64ProcessorState state,
bool  userMode 
)
static

Definition at line 36 of file arm64/state.cc.

◆ getBasePointer()

uintptr_t Arm64InterruptState::getBasePointer ( ) const
inline

Definition at line 24 of file arm64/state.h.

◆ getErrorCode()

uintptr_t Arm64InterruptState::getErrorCode ( ) const
inline

Definition at line 47 of file arm64/state.h.

◆ getFlags()

uint64_t Arm64InterruptState::getFlags ( ) const
inline

Definition at line 50 of file arm64/state.h.

◆ getInstructionPointer()

uintptr_t Arm64InterruptState::getInstructionPointer ( ) const
inline

Definition at line 18 of file arm64/state.h.

◆ getInterruptNumber()

size_t Arm64InterruptState::getInterruptNumber ( ) const
inline

Definition at line 44 of file arm64/state.h.

◆ getRegister()

processor_register_t Arm64InterruptState::getRegister ( size_t  index) const

Definition at line 3 of file arm64/state.cc.

◆ getRegisterCount()

size_t Arm64InterruptState::getRegisterCount ( ) const
inline

Definition at line 31 of file arm64/state.h.

◆ getRegisterName()

const char * Arm64InterruptState::getRegisterName ( size_t  index) const

Definition at line 28 of file arm64/state.cc.

◆ getRegisterSize()

size_t Arm64InterruptState::getRegisterSize ( size_t  ) const
inline

Definition at line 37 of file arm64/state.h.

◆ getStackPointer()

uintptr_t Arm64InterruptState::getStackPointer ( ) const
inline

Definition at line 12 of file arm64/state.h.

◆ kernelMode()

bool Arm64InterruptState::kernelMode ( ) const
inline

Definition at line 41 of file arm64/state.h.

◆ setBasePointer()

void Arm64InterruptState::setBasePointer ( uintptr_t  value)
inline

Definition at line 27 of file arm64/state.h.

◆ setFlags()

void Arm64InterruptState::setFlags ( uint64_t  value)
inline

Definition at line 53 of file arm64/state.h.

◆ setInstructionPointer()

void Arm64InterruptState::setInstructionPointer ( uintptr_t  value)
inline

Definition at line 21 of file arm64/state.h.

◆ setRegister()

void Arm64InterruptState::setRegister ( size_t  index,
uintptr_t  value 
)

Definition at line 16 of file arm64/state.cc.

◆ setStackPointer()

void Arm64InterruptState::setStackPointer ( uintptr_t  value)
inline

Definition at line 15 of file arm64/state.h.

Member Data Documentation

◆ esr

uint64_t Arm64InterruptState::esr

Definition at line 63 of file arm64/state.h.

◆ far

uint64_t Arm64InterruptState::far

Definition at line 64 of file arm64/state.h.

◆ pc

uint64_t Arm64InterruptState::pc

Definition at line 61 of file arm64/state.h.

◆ pstate

uint64_t Arm64InterruptState::pstate

Definition at line 62 of file arm64/state.h.

◆ sp

uint64_t Arm64InterruptState::sp

Definition at line 60 of file arm64/state.h.

◆ vector

uint64_t Arm64InterruptState::vector

Definition at line 65 of file arm64/state.h.

◆ x

uint64_t Arm64InterruptState::x[31]

Definition at line 59 of file arm64/state.h.


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