Skip to main content

lay_out

Function lay_out 

Source
pub fn lay_out(rast: Rast) -> Result<Rast, Diagnostics>
Expand description

Lay out the vaddrs of rast‘s mappings, the system’s buffers and the programs’ own, once build_programs has them all: each pinned one checked, the rest allocated, none overlapping in its protection domain.

§Errors

A pinned vaddr misaligned or out of range, a protection domain out of address space, two mappings overlapping.