Expand description
Public API for CoreVM builders.
This API is shared between the builders and the CoreVM service itself.
Modules§
Structs§
- Arg
- Command line argument.
- Audio
Mode - Audio monitor output mode.
- Console
Chunk - A chunk of console output.
- Console
Chunks - Several chunks of console output.
- Core
VmOutput - CoreVM-specific work output.
- Core
VmPayload - CoreVM-specific work payload.
- ExecEnv
- Guest execution environment.
- Kernel
Fd - In-kernel file descriptor state.
- Kernel
State - The state of the Linux kernel syscall layer.
- Output
Buffers - CoreVM output stream buffers.
- Page
Addr - Page address.
- Page
Info - Memory page metadata.
- Range
- Range
Set - Video
Mode - Video monitor output mode.
- VmOutput
- The specification of the VM’s output data.
- VmSpec
- Same as
CoreVmOutputbut only includes the data necessary to continue program execution. - VmState
- Inner VM state.
Enums§
- Audio
Sample Format - The format of the samples emitted via [
yield_audio_samples]. - Core
VmInstruction - Instruction to send to the CoreVM service.
- Outcome
- The result code returned by CoreVM service.
- Output
Stream - Output stream identifier.
- Storage
Key - Storage keys used by CoreVM.
- Video
Frame Format - The format of the frames emitted via [
yield_video_frame].
Constants§
- PAGE_
SIZE - Inner VM page size.
Traits§
- Page
Segment Ops - An import/export segment that stores an inner VM page and its address.