Function kernel::grant::kernel_grant_for[][src]

pub unsafe fn kernel_grant_for<T>(app_id: usize) -> *mut T

This function contains the mapping of kernel "app" numbers to their functions for getting a pointer to their grant region. Normal apps are stored in a processes array, and finding apps is a matter of iterating that array. Kernel "apps" currently (June 2018) have no such structure, so finding them is a bit more ad-hoc.