Home
last modified time | relevance | path

Searched refs:Pde (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
DSmmProfile.c480 UINT64 *Pde; in InitPaging() local
522 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 …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/SmmBaseHelper/
DSmmBaseHelper.c451 UINT64 Pde; in InitCpuStatePageTable() local
468 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()