Lines Matching refs:gPhyMask
171 PageDirectoryPointerEntry = (UINT64 *) ((*PageMapLevel4Entry) & gPhyMask); in SetStaticPageTable()
177 *PageMapLevel4Entry = ((UINTN)PageDirectoryPointerEntry & gPhyMask) | PAGE_ATTRIBUTE_BITS; in SetStaticPageTable()
192 *PageDirectory1GEntry = (PageAddress & gPhyMask) | IA32_PG_PS | PAGE_ATTRIBUTE_BITS; in SetStaticPageTable()
207 PageDirectoryEntry = (UINT64 *) ((*PageDirectoryPointerEntry) & gPhyMask); in SetStaticPageTable()
452 Pml4 = (UINT64*)(UINTN)(AsmReadCr3 () & gPhyMask); in ReclaimPages()
460 Pdpt = (UINT64*)(UINTN)(Pml4[Pml4Index] & gPhyMask); in ReclaimPages()
481 Pdt = (UINT64*)(UINTN)(Pdpt[PdptIndex] & gPhyMask); in ReclaimPages()
563 InsertTailList (&mPagePool, (LIST_ENTRY*)(UINTN)(*ReleasePageAddress & gPhyMask)); in ReclaimPages()
575 Pdpt = (UINT64*)(UINTN)(Pml4[MinPml4] & gPhyMask); in ReclaimPages()
582 InsertTailList (&mPagePool, (LIST_ENTRY*)(UINTN)(Pdpt[MinPdpt] & gPhyMask)); in ReclaimPages()
606 InsertTailList (&mPagePool, (LIST_ENTRY*)(UINTN)(Pml4[MinPml4] & gPhyMask)); in ReclaimPages()
686 Pml4 = (UINT64*)(AsmReadCr3 () & gPhyMask); in SmiDefaultPFHandler()
763 PageTable = (UINT64*)(UINTN)(PageTable[PTIndex] & gPhyMask); in SmiDefaultPFHandler()
779 PageTable[PTIndex] = (PFAddress & gPhyMask & ~((1ull << EndBit) - 1)) | in SmiDefaultPFHandler()