Searched refs:Pde (Results 1 – 2 of 2) sorted by relevance
480 UINT64 *Pde; in InitPaging() local522 Pde = (UINT64 *)(UINTN)(Pml4[Level1] & PHYSICAL_ADDRESS_MASK); in InitPaging()524 Pde = (UINT64*)(UINTN)mSmmProfileCr3; in InitPaging()526 for (Level2 = 0; Level2 < NumberOfPdpEntries; Level2++, Pde++) { in InitPaging()527 if ((*Pde & IA32_PG_P) == 0) { in InitPaging()533 Pte = (UINT64 *)(UINTN)(*Pde & PHYSICAL_ADDRESS_MASK); in InitPaging()580 Pde = (UINT64 *)(UINTN)(Pml4[Level1] & PHYSICAL_ADDRESS_MASK); in InitPaging()582 Pde = (UINT64*)(UINTN)mSmmProfileCr3; in InitPaging()584 for (Level2 = 0; Level2 < NumberOfPdpEntries; Level2++, Pde++) { in InitPaging()585 if ((*Pde & IA32_PG_P) == 0) { in InitPaging()[all …]
451 UINT64 Pde; in InitCpuStatePageTable() local468 Pde = Pdpte[BitFieldRead64 (HookAddress, 21, 29)]; in InitCpuStatePageTable()469 ASSERT ((Pde & BIT0) != 0); // Present and 2M Page in InitCpuStatePageTable()471 if ((Pde & BIT7) == 0) { // 4KB Page Directory in InitCpuStatePageTable()472 PageTable = (UINT64 *)(UINTN)(Pde & mPhyMask); in InitCpuStatePageTable()474 ASSERT ((Pde & mPhyMask) == (HookAddress & ~(SIZE_2MB-1))); // 2MB Page Point to HookAddress in InitCpuStatePageTable()