Module machine

Source

Functions§

disable
Disables all interrupts in the current hart (machine mode).
enable
Enables all the interrupts in the current hart (machine mode).
free
Execute closure f with interrupts disabled in the current hart (machine mode).
nested
Execute closure f with interrupts enabled in the current hart (machine mode).