Lines Matching refs:Pte
475 UINT64 *Pte; in InitPaging() local
533 Pte = (UINT64 *)(UINTN)(*Pde & PHYSICAL_ADDRESS_MASK); in InitPaging()
534 if (Pte == 0) { in InitPaging()
537 for (Level3 = 0; Level3 < SIZE_4KB / sizeof (*Pte); Level3++, Pte++) { in InitPaging()
538 if ((*Pte & IA32_PG_P) == 0) { in InitPaging()
549 if (((*Pte & IA32_PG_PS) != 0) && IsAddressSplit (Address)) { in InitPaging()
553 ASSERT (Address == (*Pte & PHYSICAL_ADDRESS_MASK)); in InitPaging()
562 *Pte = (UINTN)Pt | PAGE_ATTRIBUTE_BITS; in InitPaging()
600 Pte = (UINT64 *)(UINTN)(*Pde & PHYSICAL_ADDRESS_MASK); in InitPaging()
601 if (Pte == 0) { in InitPaging()
604 for (Level3 = 0; Level3 < SIZE_4KB / sizeof (*Pte); Level3++, Pte++) { in InitPaging()
605 if ((*Pte & IA32_PG_P) == 0) { in InitPaging()
613 if ((*Pte & IA32_PG_PS) != 0) { in InitPaging()
620 *Pte = *Pte & (INTN)(INT32)(~PAGE_ATTRIBUTE_BITS); in InitPaging()
623 *Pte = *Pte | IA32_PG_NX; in InitPaging()
627 Pt = (UINT64 *)(UINTN)(*Pte & PHYSICAL_ADDRESS_MASK); in InitPaging()