Skip to main content

force_unlock_kprint_state

Function force_unlock_kprint_state 

Source
pub unsafe fn force_unlock_kprint_state()
Expand description

Release KPRINT_STATE’s lock without restoring the interrupt flag, for panic paths.

§Safety

Same contract as IrqMutex::force_unlock: only call from a panic handler that halts immediately after and never accesses KPRINT_STATE again.