Skip to main content

switch_to_unprivileged_psp

Function switch_to_unprivileged_psp 

Source
pub fn switch_to_unprivileged_psp(
    psp_stack: StackHandle,
    function: extern "C" fn() -> !,
) -> !
Expand description

Switch to unprivileged mode running on the Process Stack Pointer (PSP)

In Unprivileged Mode, code can no longer perform privileged operations, such as disabling interrupts.