MCPcopy Create free account
hub / github.com/HoShiMin/Kernel-Bridge / DisableMonitorTrapFlag

Function DisableMonitorTrapFlag

Kernel-Bridge/API/Hypervisor.cpp:2000–2005  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1998 }
1999
2000 void DisableMonitorTrapFlag()
2001 {
2002 VMX::PRIMARY_PROCESSOR_BASED_VM_EXECUTION_CONTROLS PrimaryControls = { static_cast<unsigned int>(vmread(VMX::VMCS_FIELD_PRIMARY_PROCESSOR_BASED_VM_EXECUTION_CONTROLS)) };
2003 PrimaryControls.Bitmap.MonitorTrapFlag = FALSE;
2004 __vmx_vmwrite(VMX::VMCS_FIELD_PRIMARY_PROCESSOR_BASED_VM_EXECUTION_CONTROLS, PrimaryControls.Value);
2005 }
2006
2007 void DisableGuestInterrupts()
2008 {

Callers 1

MonitorTrapFlagHandlerFunction · 0.85

Calls 1

vmreadFunction · 0.85

Tested by

no test coverage detected