sel4

Function try_with_ipc_buffer_slot

Source
pub fn try_with_ipc_buffer_slot<F, T>(f: F) -> T
where F: FnOnce(Result<&Option<&'static mut IpcBuffer>, BorrowError>) -> T,
Expand description

Provides low-level access to this thread’s IPC buffer.

This function does not modify kernel state. It only affects this crate’s thread-local state.

Requires the "state" feature to be enabled.