disable_fpu

Function disable_fpu 

Source
pub fn disable_fpu()
Expand description

Disable FPU access by setting sstatus.FS to Off.

When FS is Off, any FPU instruction executed (in S/U) raises an illegal instruction exception. The kernel should re-enable FS temporarily when it needs to save/restore user state.