|
The Pedigree Project
0.1
|
#include <state.h>
Collaboration diagram for ARM926EInterruptState:Public Member Functions | |
| uintptr_t | getStackPointer () const |
| void | setStackPointer (uintptr_t stackPointer) |
| uintptr_t | getInstructionPointer () const |
| void | setInstructionPointer (uintptr_t instructionPointer) |
| uintptr_t | getBasePointer () const |
| void | setBasePointer (uintptr_t basePointer) |
| size_t | getRegisterCount () const |
| processor_register_t | getRegister (size_t index) const |
| const char * | getRegisterName (size_t index) const |
| size_t | getRegisterSize (size_t index) const |
| bool | kernelMode () const |
| size_t | getInterruptNumber () const |
| size_t | getSyscallService () const |
| size_t | getSyscallNumber () const |
| ARM926EInterruptState () | |
| ARM926EInterruptState (const ARM926EInterruptState &) | |
| ARM926EInterruptState & | operator= (const ARM926EInterruptState &) |
| ~ARM926EInterruptState () | |
Public Attributes | |
| uint32_t | m_r0 |
| uint32_t | m_r1 |
| uint32_t | m_r2 |
| uint32_t | m_r3 |
| uint32_t | m_r4 |
| uint32_t | m_r5 |
| uint32_t | m_r6 |
| uint32_t | m_r7 |
| uint32_t | m_r8 |
| uint32_t | m_r9 |
| uint32_t | m_r10 |
| uint32_t | m_Fp |
| uint32_t | m_r12 |
| uint32_t | m_Sp |
| uint32_t | m_Lnk |
| uint32_t | m_Pc |
| uint32_t | m_Cpsr |
ARM926E Interrupt State
Definition at line 30 of file arm_926e/state.h.
| ARM926EInterruptState::ARM926EInterruptState | ( | ) |
| ARM926EInterruptState::ARM926EInterruptState | ( | const ARM926EInterruptState & | is | ) |
The copy-constructor
Definition at line 32 of file arm_926e/state.cc.
References operator=().
|
inline |
|
inline |
|
inline |
Get the instruction-pointer of the next instruction that is executed after the interrupt is processed
Definition at line 163 of file arm_926e/state.h.
|
inline |
Get the interrupt number
Definition at line 195 of file arm_926e/state.h.
| processor_register_t ARM926EInterruptState::getRegister | ( | size_t | index | ) | const |
Get a specific register
| [in] | index | the index of the register (from 0 to getRegisterCount() - 1) |
Definition at line 67 of file arm_926e/state.cc.
References m_r0.
| size_t ARM926EInterruptState::getRegisterCount | ( | ) | const |
Get the number of registers
Definition at line 63 of file arm_926e/state.cc.
| const char * ARM926EInterruptState::getRegisterName | ( | size_t | index | ) | const |
Get the name of a specific register
| [in] | index | the index of the register (from 0 to getRegisterCount() - 1) |
Definition at line 109 of file arm_926e/state.cc.
|
inline |
Get the register's size in bytes
| [in] | index | the index of the register (from 0 to getRegisterCount() - 1) |
Definition at line 178 of file arm_926e/state.h.
|
inline |
Get the stack-pointer before the interrupt occured
Definition at line 156 of file arm_926e/state.h.
|
inline |
Get the syscall function number
Definition at line 206 of file arm_926e/state.h.
|
inline |
Get the syscall service number
Definition at line 201 of file arm_926e/state.h.
|
inline |
Did the interrupt happen in kernel-mode?
Definition at line 189 of file arm_926e/state.h.
| ARM926EInterruptState & ARM926EInterruptState::operator= | ( | const ARM926EInterruptState & | is | ) |
The assignement operator
Definition at line 41 of file arm_926e/state.cc.
References m_r0.
Referenced by ARM926EInterruptState().
Here is the caller graph for this function:
|
inline |
Set the base-pointer
| [in] | basePointer | the new base-pointer |
Definition at line 174 of file arm_926e/state.h.
|
inline |
Set the instruction-pointer
| [in] | instructionPointer | the new instruction-pointer |
Definition at line 167 of file arm_926e/state.h.
|
inline |
Set the userspace stack-pointer
| [in] | stackPointer | the new stack-pointer |
Definition at line 160 of file arm_926e/state.h.
| uint32_t ARM926EInterruptState::m_r0 |
ARM926E Registers and State
Definition at line 110 of file arm_926e/state.h.
Referenced by getRegister(), and operator=().
1.8.11