共用方式為


__svm_stgi

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at __svm_stgi.

Microsoft Specific**

Sets the global interrupt flag.

Syntax

void __svm_stgi(void);  

Remarks

The __svm_stgi function is equivalent to the STGI machine instruction. The global interrupt flag determines whether the microprocessor ignores, postpones, or handles interrupts due to events such as an I/O completion, a hardware temperature alert, or a debug exception.

This function supports the interaction of a host's virtual machine monitor with a guest operating system and its applications. For more information, search for the document, "AMD64 Architecture Programmer's Manual Volume 2: System Programming," document number 24593, revision 3.11, at the AMD corporation site.

Requirements

Intrinsic Architecture
__svm_stgi x86, x64

Header file <intrin.h>

END Microsoft Specific

See Also

Compiler Intrinsics
__svm_clgi