rusty_mos::process::envs

Function env_setup_vm

Source
pub fn env_setup_vm(env_index: usize) -> Result<(), KError>
Expand description

Setup the virtual memory of the new-born env.

§Return

A KError wrapper with Err will be returned if the page_alloc fails.

§Safety

The env SHALL be valid.