#include <state.h>
MIPS64 Interrupt State
Definition at line 30 of file mips64/state.h.
MIPS64InterruptState::MIPS64InterruptState |
( |
| ) |
|
|
private |
The default constructor
- Note
- NOT implemented
The copy-constructor
- Note
- NOT implemented
MIPS64InterruptState::~MIPS64InterruptState |
( |
| ) |
|
|
private |
The destructor
- Note
- NOT implemented
uintptr_t MIPS64InterruptState::getBasePointer |
( |
| ) |
const |
|
inline |
Get the base-pointer
- Returns
- the base-pointer
Definition at line 169 of file mips64/state.h.
uintptr_t MIPS64InterruptState::getInstructionPointer |
( |
| ) |
const |
|
inline |
Get the instruction-pointer of the next instruction that is executed after the interrupt is processed
- Returns
- the instruction-pointer
Definition at line 162 of file mips64/state.h.
size_t MIPS64InterruptState::getInterruptNumber |
( |
| ) |
const |
|
inline |
Get the interrupt number
- Returns
- the interrupt number
Definition at line 185 of file mips64/state.h.
processor_register_t MIPS64InterruptState::getRegister |
( |
size_t |
index | ) |
const |
Get a specific register
- Parameters
-
- Returns
- the value of the register
size_t MIPS64InterruptState::getRegisterCount |
( |
| ) |
const |
Get the number of registers
- Returns
- the number of registers
const char* MIPS64InterruptState::getRegisterName |
( |
size_t |
index | ) |
const |
Get the name of a specific register
- Parameters
-
- Returns
- the name of the register
size_t MIPS64InterruptState::getRegisterSize |
( |
size_t |
index | ) |
const |
|
inline |
Get the register's size in bytes
- Parameters
-
- Returns
- the register size in bytes
Definition at line 176 of file mips64/state.h.
uintptr_t MIPS64InterruptState::getStackPointer |
( |
| ) |
const |
|
inline |
Get the stack-pointer before the interrupt occured
- Returns
- the stack-pointer before the interrupt
Definition at line 155 of file mips64/state.h.
bool MIPS64InterruptState::kernelMode |
( |
| ) |
const |
|
inline |
Did the interrupt happen in kernel-mode?
- Returns
- true, if the interrupt happened in kernel-mode, false otherwise
Definition at line 181 of file mips64/state.h.
The assignement operator
- Note
- NOT implemented
void MIPS64InterruptState::setBasePointer |
( |
uintptr_t |
basePointer | ) |
|
|
inline |
Set the base-pointer
- Parameters
-
[in] | basePointer | the new base-pointer |
Definition at line 173 of file mips64/state.h.
void MIPS64InterruptState::setInstructionPointer |
( |
uintptr_t |
instructionPointer | ) |
|
|
inline |
Set the instruction-pointer
- Parameters
-
[in] | instructionPointer | the new instruction-pointer |
Definition at line 166 of file mips64/state.h.
void MIPS64InterruptState::setStackPointer |
( |
uintptr_t |
stackPointer | ) |
|
|
inline |
Set the userspace stack-pointer
- Parameters
-
[in] | stackPointer | the new stack-pointer |
Definition at line 159 of file mips64/state.h.
The documentation for this class was generated from the following file: