Lines Matching refs:ValidMtrrAddressMask
37 IN UINT64 ValidMtrrAddressMask,
177 IN UINT64 ValidMtrrAddressMask in EfiProgramMtrr() argument
192 TempQword = (MemoryAddress & ValidMtrrAddressMask) | MemoryCacheType; in EfiProgramMtrr()
199 AsmWriteMsr64 (MtrrNumber + 1, (TempQword & ValidMtrrAddressMask) | B_EFI_MSR_CACHE_MTRR_VALID); in EfiProgramMtrr()
390 UINT64 ValidMtrrAddressMask; in SetCacheAttributes() local
396 ValidMtrrAddressMask = (LShiftU64((UINT64) 1, (Cpuid_RegEax & 0xFF)) - 1) & (~(UINT64)0x0FFF); in SetCacheAttributes()
398 ValidMtrrAddressMask = (LShiftU64((UINT64) 1, 36) - 1) & (~(UINT64)0x0FFF); in SetCacheAttributes()
404 if ((MemoryAddress & ~ValidMtrrAddressMask) != 0 || (MemoryLength & ~ValidMtrrAddressMask) != 0) { in SetCacheAttributes()
443 ValidMtrrAddressMask, in SetCacheAttributes()
478 ValidMtrrAddressMask in SetCacheAttributes()
534 ValidMtrrAddressMask in SetCacheAttributes()
559 ValidMtrrAddressMask in SetCacheAttributes()
647 IN UINT64 ValidMtrrAddressMask, in SearchForExactMtrr() argument
666 if ((TempQword & ValidMtrrAddressMask) != ((~(MemoryLength - 1)) & ValidMtrrAddressMask)) { in SearchForExactMtrr()
671 if ((TempQword & ValidMtrrAddressMask) != (MemoryAddress & ValidMtrrAddressMask)) { in SearchForExactMtrr()