Lines Matching refs:Pml4
423 UINT64 *Pml4; in ReclaimPages() local
439 Pml4 = NULL; in ReclaimPages()
452 Pml4 = (UINT64*)(UINTN)(AsmReadCr3 () & gPhyMask); in ReclaimPages()
453 for (Pml4Index = 0; Pml4Index < EFI_PAGE_SIZE / sizeof (*Pml4); Pml4Index++) { in ReclaimPages()
454 if ((Pml4[Pml4Index] & IA32_PG_P) == 0 || (Pml4[Pml4Index] & IA32_PG_PMNT) != 0) { in ReclaimPages()
460 Pdpt = (UINT64*)(UINTN)(Pml4[Pml4Index] & gPhyMask); in ReclaimPages()
541 Acc = GetAndUpdateAccNum (Pml4 + Pml4Index); in ReclaimPages()
551 ReleasePageAddress = Pml4 + Pml4Index; in ReclaimPages()
575 Pdpt = (UINT64*)(UINTN)(Pml4[MinPml4] & gPhyMask); in ReclaimPages()
600 SubEntriesNum = GetSubEntriesNum (Pml4 + MinPml4); in ReclaimPages()
606 InsertTailList (&mPagePool, (LIST_ENTRY*)(UINTN)(Pml4[MinPml4] & gPhyMask)); in ReclaimPages()
607 Pml4[MinPml4] = 0; in ReclaimPages()
614 SetSubEntriesNum (Pml4 + MinPml4, SubEntriesNum - 1); in ReclaimPages()
666 UINT64 *Pml4; in SmiDefaultPFHandler() local
686 Pml4 = (UINT64*)(AsmReadCr3 () & gPhyMask); in SmiDefaultPFHandler()
742 PageTable = Pml4; in SmiDefaultPFHandler()