Skip to main content

Module workspace_layout

Module workspace_layout 

Source
Expand description

Generic resident workspace region layout for megakernel adapters.

Domain adapters own their region identifiers and capacity policy. Runtime owns the checked contiguous-layout arithmetic because every resident megakernel workspace has the same ABI shape: ordered u32-word regions with fixed record widths and explicit capacities.

Structs§

ResidentWorkspaceRegion
One contiguous u32-word region inside a resident megakernel workspace.

Enums§

ResidentWorkspaceLayoutError
Error returned by bulk resident-workspace layout planning.
ResidentWorkspaceRegionSpec
Declarative region specification for bulk resident-workspace layout.

Functions§

build_workspace_regions
Build a contiguous resident-workspace layout from declarative specs.
first_workspace_region
Build the first region in a resident workspace.
next_record_workspace_region
Build the next contiguous record-backed region after previous.
next_workspace_region
Build the next contiguous region after previous.
workspace_record_words
Return record_words * capacity_records for a record-backed region.