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

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
 
uint32_t getFlags () const
 
void setFlags (uint32_t value)
 

Static Public Member Functions

static Armv7InterruptState * construct (Armv7ProcessorState &state, bool userMode)
 

Public Attributes

uint32_t r [13]
 
uint32_t sp
 
uint32_t lr
 
uint32_t pc
 
uint32_t cpsr
 
uint32_t faultAddress
 
uint32_t faultStatus
 
uint32_t vector
 

Detailed Description

Definition at line 8 of file armv7/state.h.

Member Function Documentation

◆ construct()

Armv7InterruptState * Armv7InterruptState::construct ( Armv7ProcessorState &  state,
bool  userMode 
)
static

Definition at line 50 of file armv7/state.cc.

◆ getBasePointer()

uintptr_t Armv7InterruptState::getBasePointer ( ) const
inline

Definition at line 22 of file armv7/state.h.

◆ getErrorCode()

uintptr_t Armv7InterruptState::getErrorCode ( ) const
inline

Definition at line 45 of file armv7/state.h.

◆ getFlags()

uint32_t Armv7InterruptState::getFlags ( ) const
inline

Definition at line 48 of file armv7/state.h.

◆ getInstructionPointer()

uintptr_t Armv7InterruptState::getInstructionPointer ( ) const
inline

Definition at line 16 of file armv7/state.h.

◆ getInterruptNumber()

size_t Armv7InterruptState::getInterruptNumber ( ) const
inline

Definition at line 42 of file armv7/state.h.

◆ getRegister()

processor_register_t Armv7InterruptState::getRegister ( size_t  index) const

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

◆ getRegisterCount()

size_t Armv7InterruptState::getRegisterCount ( ) const
inline

Definition at line 29 of file armv7/state.h.

◆ getRegisterName()

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

Definition at line 43 of file armv7/state.cc.

◆ getRegisterSize()

size_t Armv7InterruptState::getRegisterSize ( size_t  ) const
inline

Definition at line 35 of file armv7/state.h.

◆ getStackPointer()

uintptr_t Armv7InterruptState::getStackPointer ( ) const
inline

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

◆ kernelMode()

bool Armv7InterruptState::kernelMode ( ) const
inline

Definition at line 39 of file armv7/state.h.

◆ setBasePointer()

void Armv7InterruptState::setBasePointer ( uintptr_t  value)
inline

Definition at line 25 of file armv7/state.h.

◆ setFlags()

void Armv7InterruptState::setFlags ( uint32_t  value)
inline

Definition at line 51 of file armv7/state.h.

◆ setInstructionPointer()

void Armv7InterruptState::setInstructionPointer ( uintptr_t  value)
inline

Definition at line 19 of file armv7/state.h.

◆ setRegister()

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

Definition at line 25 of file armv7/state.cc.

◆ setStackPointer()

void Armv7InterruptState::setStackPointer ( uintptr_t  value)
inline

Definition at line 13 of file armv7/state.h.

Member Data Documentation

◆ cpsr

uint32_t Armv7InterruptState::cpsr

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

◆ faultAddress

uint32_t Armv7InterruptState::faultAddress

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

◆ faultStatus

uint32_t Armv7InterruptState::faultStatus

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

◆ lr

uint32_t Armv7InterruptState::lr

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

◆ pc

uint32_t Armv7InterruptState::pc

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

◆ r

uint32_t Armv7InterruptState::r[13]

Definition at line 57 of file armv7/state.h.

◆ sp

uint32_t Armv7InterruptState::sp

Definition at line 58 of file armv7/state.h.

◆ vector

uint32_t Armv7InterruptState::vector

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


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