Skip to main content

WorldMap

Type Alias WorldMap 

Source
type WorldMap = BTreeMap<u64, Box<World>>;
Expand description

Global world registry. Registry type: worlds are boxed so that creating or destroying one does not move the (large) World value through the kernel stack. The early bootstrap runs on an 8 KiB stack; a stack-sized move there is a page fault.

Aliased Typeยง

struct WorldMap { /* private fields */ }