configure_user_entry

Function configure_user_entry 

Source
pub fn configure_user_entry(
    _trapframe: &mut Trapframe,
    options: UserEntryOptions,
)
Expand description

Apply user-entry options for the upcoming sret.

This does not enable interrupts in the kernel immediately; it only controls the sstatus.SPIE bit which is copied into SIE by the sret instruction.