Home | History | Annotate | Download | only in BaseCacheLib

Lines Matching refs:MemoryLength

24   @param[in]  MemoryLength          the length of target memory

36 IN UINT64 MemoryLength,
166 @param[in] MemoryLength the length of target memory
175 IN UINT64 MemoryLength,
183 if (MemoryLength == 0) {
198 TempQword = ~(MemoryLength - 1);
205 Calculate the maximum value which is a power of 2, but less the MemoryLength.
208 @param[in] MemoryLength The number to pass in.
210 @return The maximum value which is align to power of 2 and less the MemoryLength
216 IN UINT64 MemoryLength
221 if (MemoryLength == 0) {
228 Result = GetPowerOfTwo64(MemoryLength);
366 @param[in] MemoryLength Length of Memory to program MTRR.
379 IN UINT64 MemoryLength,
404 if ((MemoryAddress & ~ValidMtrrAddressMask) != 0 || (MemoryLength & ~ValidMtrrAddressMask) != 0) {
408 if (MemoryLength == 0) {
427 if ((MemoryAddress + MemoryLength) <= (1 << 20)) {
430 while ((MemoryLength > 0) && (Status == EFI_SUCCESS)) {
431 Status = ProgramFixedMtrr (MemoryCacheType, &MemoryAddress, &MemoryLength);
442 MemoryLength,
476 MemoryLength,
493 if (!CheckMtrrOverlap (MemoryAddress, MemoryAddress+MemoryLength-1)) {
527 TempQword = MemoryLength;
532 MemoryLength,
554 MemoryLength = Power2MaxMemory(MemoryAddress, TempQword);
557 MemoryLength,
561 MemoryAddress += MemoryLength;
562 TempQword -= MemoryLength;
634 @param[in] MemoryLength the length of target memory
646 IN UINT64 MemoryLength,
655 if (MemoryLength == 0) {
666 if ((TempQword & ValidMtrrAddressMask) != ((~(MemoryLength - 1)) & ValidMtrrAddressMask)) {