Export (0) Print
Expand All
Expand Minimize
0 out of 1 rated this helpful - Rate this topic


Microsoft Specific

Enables interrupts.

void _enable(void);




x86, IPF, x64

Header file <intrin.h>

_enable instructs the processor to set the interrupt flag. On x86 systems, this function generates the Set Interrupt Flag (sti) instruction. On an IPF system, this instruction generates a Set System Mask (ssm) instruction with an argument that sets the interrupt control flag.

This function is only available in kernel mode. If used in user mode, a Privileged Instruction exception is thrown.

On IPF platforms, this routine is only available as an intrinsic.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.