Lines Matching refs:Alignment
828 This function first checks the alignment of the base address.
829 If the alignment of the base address <= Length, cover the memory range
830 (BaseAddress, alignment) by a MTRR, then BaseAddress += alignment and
831 Length -= alignment. Repeat the step until alignment > Length.
852 UINT64 Alignment;
861 // Calculate the alignment of the base address.
863 Alignment = LShiftU64 (1, (UINTN)LowBitSet64 (BaseAddress));
865 if (Alignment > Length) {
870 BaseAddress += Alignment;
871 Length -= Alignment;
1466 UINT64 Alignment;
1663 // Calculate the alignment of the base address.
1665 Alignment = LShiftU64 (1, (UINTN)LowBitSet64 (BaseAddress));
1667 if (Alignment > Length) {
1684 Alignment,
1688 BaseAddress += Alignment;
1689 Length -= Alignment;