Lines Matching defs:Pte
475 UINT64 *Pte;
533 Pte = (UINT64 *)(UINTN)(*Pde & PHYSICAL_ADDRESS_MASK);
534 if (Pte == 0) {
537 for (Level3 = 0; Level3 < SIZE_4KB / sizeof (*Pte); Level3++, Pte++) {
538 if ((*Pte & IA32_PG_P) == 0) {
540 // If PTE
549 if (((*Pte & IA32_PG_PS) != 0) && IsAddressSplit (Address)) {
553 ASSERT (Address == (*Pte & PHYSICAL_ADDRESS_MASK));
562 *Pte = (UINTN)Pt | PAGE_ATTRIBUTE_BITS;
564 } // end for PTE
600 Pte = (UINT64 *)(UINTN)(*Pde & PHYSICAL_ADDRESS_MASK);
601 if (Pte == 0) {
604 for (Level3 = 0; Level3 < SIZE_4KB / sizeof (*Pte); Level3++, Pte++) {
605 if ((*Pte & IA32_PG_P) == 0) {
607 // If PTE entry does not exist, skip it
613 if ((*Pte & IA32_PG_PS) != 0) {
620 *Pte = *Pte & (INTN)(INT32)(~PAGE_ATTRIBUTE_BITS);
623 *Pte = *Pte | IA32_PG_NX;
627 Pt = (UINT64 *)(UINTN)(*Pte & PHYSICAL_ADDRESS_MASK);
641 } // end for PTE
1204 // 4K PTE