Function hal_x86_64::cpu::intrinsics::sti

source ·
pub unsafe fn sti()
Expand description

Perform one x86 sti instruction.

sti enables CPU interrupts.

Safety

Intrinsics are inherently unsafe — this is just a less ugly way of writing inline assembly.

Prefer the higher-level interrupt::Control::enter_critical API when possible.