[][src]Function riscv::asm::wfi

pub unsafe fn wfi()

WFI instruction wrapper

Provides a hint to the implementation that the current hart can be stalled until an interrupt might need servicing. The WFI instruction is just a hint, and a legal implementation is to implement WFI as a NOP.