Expand description
Definitions for the sidecar kernel.
Structs§
- Command
Error - A string error.
- Command
Page - The sidecar command page, containing command requests and responses.
- Control
Page - The per-node control page, which is used to communicate between the sidecar kernel and the main kernel sidecar kernel driver.
- CpuContext
X64 - The CPU context for x86-64.
- CpuStatus
- The CPU status.
- GetSet
VpRegister Request - A request and response for
SidecarCommand::GET_VP_REGISTERS
orSidecarCommand::SET_VP_REGISTERS
. - RunVp
Response - A response for
SidecarCommand::RUN_VP
. - Sidecar
Command - The sidecar command.
- Sidecar
Node Output - The per-node output of the sidecar kernel boot process.
- Sidecar
Node Params - Node-specific input parameters.
- Sidecar
Output - The output of the sidecar kernel boot process.
- Sidecar
Params - Sidecar start input parameters.
- Translate
GvaRequest - A request for
SidecarCommand::TRANSLATE_GVA
. - Translate
GvaResponse - A response for
SidecarCommand::TRANSLATE_GVA
.
Constants§
- MAX_
GET_ SET_ VP_ REGISTERS - The maximum number of registers that can be requested in a single
SidecarCommand::GET_VP_REGISTERS
orSidecarCommand::SET_VP_REGISTERS
. - MAX_
NODES - The maximum number of supported sidecar nodes.
- PAGE_
SIZE - The page size for all sidecar objects.
- PER_
VP_ PAGES - The number of reserved pages required for each VP.
- PER_
VP_ SHMEM_ PAGES - The number of per-VP shared-memory pages.
- STACK_
PAGES - The number of pages in the per-VP stack.
Functions§
- required_
memory - The required memory (in bytes) for a node.