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

Function ApplyMask

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

Source from the content-addressed store, hash-verified

1688
1689 template <typename T>
1690 static T ApplyMask(T VmxControlReg, CONTROLS_MASK Mask)
1691 {
1692 VmxControlReg.Value &= Mask.Bitmap.Allowed1Settings;
1693 VmxControlReg.Value |= Mask.Bitmap.Allowed0Settings;
1694 return VmxControlReg;
1695 }
1696
1697 static size_t vmread(size_t field)
1698 {

Callers 1

VirtualizeProcessorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected