Crate corevm_host

Source
Expand description

Public API for CoreVM builders.

This API is shared between the builders and the CoreVM service itself.

Structs§

CoreVmOutput
CoreVM-specific work output.
CoreVmPayload
CoreVM-specific work payload.
File
Virtual file.
FileBlock
Virtual file system block.
FileRef
File location in the virtual file system.
OutputBuffers
CoreVM output stream buffers (builder counterpart).
PageSegment
An import/export segment that stores an inner VM page and its address.
Range
RangeSet
VideoMode
VmOutput
The specification of the VM’s output data.
VmSpec
Same as CoreVmOutput but only includes the data necessary to continue program execution.
VmState
Inner VM state.

Enums§

CoreVmInstruction
Instruction to send to the CoreVM service.
Outcome
The result code returned by CoreVM service.
OutputStream
Output stream identifier.
StorageKey
Storage keys used by CoreVM.

Constants§

MAX_FILE_BLOCK_LEN
MAX_FILE_LEN
Maximum allowed total size of all file blocks excluding the hashes.
MIN_FILE_BLOCK_LEN
PAGE_SIZE
Inner VM page size.

Functions§

page_address