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

Function GetSecondaryControlsMask

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

Source from the content-addressed store, hash-verified

1680 }
1681
1682 CONTROLS_MASK GetSecondaryControlsMask()
1683 {
1684 CONTROLS_MASK Mask = {};
1685 Mask.Value = __readmsr(static_cast<unsigned long>(INTEL_MSR::IA32_VMX_PROCBASED_CTLS2));
1686 return Mask;
1687 }
1688
1689 template <typename T>
1690 static T ApplyMask(T VmxControlReg, CONTROLS_MASK Mask)

Callers 1

VirtualizeProcessorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected