Lines Matching refs:PageTable
1140 UINT64 *PageTable, in RestorePageTableBelow4G() argument
1154 ASSERT (PageTable[PTIndex] != 0); in RestorePageTableBelow4G()
1155 PageTable = (UINT64*)(UINTN)(PageTable[PTIndex] & PHYSICAL_ADDRESS_MASK); in RestorePageTableBelow4G()
1162 ASSERT (PageTable[PTIndex] != 0); in RestorePageTableBelow4G()
1163 PageTable = (UINT64*)(UINTN)(PageTable[PTIndex] & PHYSICAL_ADDRESS_MASK); in RestorePageTableBelow4G()
1169 if ((PageTable[PTIndex] & IA32_PG_PS) != 0) { in RestorePageTableBelow4G()
1182 mLastPFEntryValue[CpuIndex][PFIndex] = PageTable[PTIndex]; in RestorePageTableBelow4G()
1183 mLastPFEntryPointer[CpuIndex][PFIndex] = &PageTable[PTIndex]; in RestorePageTableBelow4G()
1190 PageTable[PTIndex] = (PFAddress & ~((1ull << 21) - 1)); in RestorePageTableBelow4G()
1191 PageTable[PTIndex] |= (UINT64)IA32_PG_PS; in RestorePageTableBelow4G()
1192 PageTable[PTIndex] |= (UINT64)PAGE_ATTRIBUTE_BITS; in RestorePageTableBelow4G()
1194 PageTable[PTIndex] &= ~IA32_PG_NX; in RestorePageTableBelow4G()
1200 ASSERT (PageTable[PTIndex] != 0); in RestorePageTableBelow4G()
1201 PageTable = (UINT64*)(UINTN)(PageTable[PTIndex] & PHYSICAL_ADDRESS_MASK); in RestorePageTableBelow4G()
1216 mLastPFEntryValue[CpuIndex][PFIndex] = PageTable[PTIndex]; in RestorePageTableBelow4G()
1217 mLastPFEntryPointer[CpuIndex][PFIndex] = &PageTable[PTIndex]; in RestorePageTableBelow4G()
1224 PageTable[PTIndex] = (PFAddress & ~((1ull << 12) - 1)); in RestorePageTableBelow4G()
1225 PageTable[PTIndex] |= (UINT64)PAGE_ATTRIBUTE_BITS; in RestorePageTableBelow4G()
1227 PageTable[PTIndex] &= ~IA32_PG_NX; in RestorePageTableBelow4G()
1245 UINT64 *PageTable; in SmmProfilePFHandler() local
1272 PageTable = (UINT64 *)AsmReadCr3 (); in SmmProfilePFHandler()
1277 RestorePageTableBelow4G (PageTable, PFAddress, CpuIndex, ErrorCode); in SmmProfilePFHandler()
1279 RestorePageTableAbove4G (PageTable, PFAddress, CpuIndex, ErrorCode, &IsValidPFAddress); in SmmProfilePFHandler()