#include <state.h>
x64 ProcessorState
Definition at line 212 of file hosted/state.h.
◆ HostedProcessorState() [1/4]
| HostedProcessorState::HostedProcessorState |
( |
| ) |
|
|
inline |
Default constructor initializes everything with 0
Definition at line 376 of file hosted/state.h.
◆ HostedProcessorState() [2/4]
◆ HostedProcessorState() [3/4]
Construct a ProcessorState object from an InterruptState object
- Parameters
-
| [in] | x | reference to the InterruptState object |
Definition at line 378 of file hosted/state.h.
◆ HostedProcessorState() [4/4]
Construct a ProcessorState object from an SyscallState object
- Parameters
-
| [in] | x | reference to the SyscallState object |
Definition at line 379 of file hosted/state.h.
◆ ~HostedProcessorState()
| HostedProcessorState::~HostedProcessorState |
( |
| ) |
|
|
inline |
◆ getBasePointer()
| uintptr_t HostedProcessorState::getBasePointer |
( |
| ) |
const |
|
inline |
Get the base-pointer
- Returns
- the base-pointer
Definition at line 401 of file hosted/state.h.
◆ getInstructionPointer()
| uintptr_t HostedProcessorState::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 397 of file hosted/state.h.
◆ getStackPointer()
| uintptr_t HostedProcessorState::getStackPointer |
( |
| ) |
const |
|
inline |
Get the stack-pointer before the interrupt occured
- Returns
- the stack-pointer before the interrupt
Definition at line 393 of file hosted/state.h.
◆ operator=() [1/3]
Assignment from InterruptState
- Parameters
-
| [in] | reference | to the InterruptState |
Definition at line 384 of file hosted/state.h.
◆ operator=() [2/3]
◆ operator=() [3/3]
Assignment from SyscallState
- Parameters
-
| [in] | reference | to the SyscallState |
Definition at line 388 of file hosted/state.h.
◆ setBasePointer()
| void HostedProcessorState::setBasePointer |
( |
uintptr_t |
basePointer | ) |
|
|
inline |
Set the base-pointer
- Parameters
-
| [in] | basePointer | the new base-pointer |
Definition at line 404 of file hosted/state.h.
◆ setInstructionPointer()
| void HostedProcessorState::setInstructionPointer |
( |
uintptr_t |
instructionPointer | ) |
|
|
inline |
Set the instruction-pointer
- Parameters
-
| [in] | instructionPointer | the new instruction-pointer |
Definition at line 400 of file hosted/state.h.
◆ setStackPointer()
| void HostedProcessorState::setStackPointer |
( |
uintptr_t |
stackPointer | ) |
|
|
inline |
Set the userspace stack-pointer
- Parameters
-
| [in] | stackPointer | the new stack-pointer |
Definition at line 396 of file hosted/state.h.
◆ state
| uint64_t HostedProcessorState::state |
The documentation for this class was generated from the following file: