Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 978 Bytes

disable.md

File metadata and controls

41 lines (27 loc) · 978 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: _disable
_disable
09/02/2019
_disable_cpp
_disable
_disable intrinsic
rsm instruction
disable intrinsic
52da3df9-815c-4524-9839-6d1742cff5c6

_disable

Microsoft Specific

Disables interrupts.

Syntax

void _disable(void);

Requirements

Intrinsic Architecture
_disable x86, ARM, x64, ARM64

Header file <intrin.h>

Remarks

_disable instructs the processor to clear the interrupt flag. On x86 systems, this function generates the Clear Interrupt Flag (cli) instruction.

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

On ARM and ARM64 platforms, this routine is only available as an intrinsic.

END Microsoft Specific

See also

Compiler intrinsics