Skip to main content

Module exitqueue

Module exitqueue 

Source
Expand description

s9vm : bounded exit event queue.

Each world has an event queue (fixed size) that the execution layer fills and that the policy consumes via SYS_VMM_EXIT_HANDLER. The queue is bounded: a producer cannot grow kernel memory, and a slow consumer causes an explicit refusal (Full) rather than silent loss.

Pure module (host-testable): it depends only on the ABI.

Re-exportsยง

use alloc::collections::VecDeque; ๐Ÿ”’
use alloc::vec::Vec; ๐Ÿ”’
use strat9_abi::vmm::VmmExitEvent; ๐Ÿ”’

Structsยง

ExitQueue
Bounded queue of exit events.

Enumsยง

QueueError
Queue errors.

Constantsยง

DEFAULT_CAPACITY
Default capacity of an exit queue.