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§
- Resident
Workspace Region - One contiguous u32-word region inside a resident megakernel workspace.
Enums§
- Resident
Workspace Layout Error - Error returned by bulk resident-workspace layout planning.
- Resident
Workspace Region Spec - 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_recordsfor a record-backed region.