Expand description
Borrowed code/data arenas with generation-bound execution admission.
Transport completes in caller-owned staging bytes before install. No
arena storage is allocated here. Allocation uses the existing PagePool
generations with one allocation unit per byte, not sector rounding.
CPU entry calls borrow the registry and backing arena for their full scope.
DMA, renderer and other external users must be quiescent before unload.
Structs§
- Admission
- Execution/data lease. Its fields deliberately do not expose raw code addresses or an owned run that could escape the admission borrow.
- Caller
Arena - A view of an existing word-aligned arena, including its MIPS address. Host tests may supply a model address; executing code requires its actual physical address, checked on MIPS at construction.
- Descriptor
- Trusted descriptor emitted alongside the same-compilation package.
- Packed
Call - Final-link-patched typed callsite; selector is the declared call-pair index.
- Packed
Descriptor - Final-link-patched resident metadata; keep initialized storage in
.data. This fixed layout avoids a second compilation moving typed callsites. - Packed
Veneer - A resident jump veneer for one typed call site, built by the final-link packer
(
overlay-compose --veneers SYMBOL). The site’s J/JAL always targets the veneer; the veneer loads its owntargetword and jumps there. A lease writes the overlay’s entry intotargetand the trap back when it ends, so entering and leaving a lease are two data stores: the instruction cache is flushed only when an image is installed or replaced (Registry::install), never per call. - Registry
- Small persistent allocation/publication registry. Keep it across title, gameplay and title re-admission so old handles cannot become current again.
- Static
Import - A known resident direct-call instruction, not an escaped function pointer.
- Veneer
Import - One veneered typed call: the resident veneer, the module that owns the export and the export’s byte offset in that module’s image.
Enums§
- Error
- Admission or installation failure; no callable entry is published on failure.
Functions§
- checksum
- Word checksum matching the existing HK module transport.