Function kernel::grant::subscribe

source ยท
pub(crate) fn subscribe(
    process: &dyn Process,
    upcall: Upcall,
) -> Result<Upcall, (Upcall, ErrorCode)>
Expand description

Subscribe to an upcall by saving the upcall in the grant region for the process and returning the existing upcall for the same UpcallId.