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

Function MaskHigh

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

Source from the content-addressed store, hash-verified

688 // E.g.: MaskHigh<char>(3) -> 0b11100000:
689 template <typename T>
690 constexpr T MaskHigh(unsigned char SignificantBits)
691 {
692 return MaskLow<T>(SignificantBits) << ((sizeof(T) * 8) - SignificantBits);
693 }
694
695 static void InitMtrr(__out MTRR_INFO* MtrrInfo)
696 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected