Home
last modified time | relevance | path

Searched refs:Pml4 (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/
DPageTbl.c423 UINT64 *Pml4; in ReclaimPages() local
439 Pml4 = NULL; in ReclaimPages()
452 Pml4 = (UINT64*)(UINTN)(AsmReadCr3 () & gPhyMask); in ReclaimPages()
453 for (Pml4Index = 0; Pml4Index < EFI_PAGE_SIZE / sizeof (*Pml4); Pml4Index++) { in ReclaimPages()
454 if ((Pml4[Pml4Index] & IA32_PG_P) == 0 || (Pml4[Pml4Index] & IA32_PG_PMNT) != 0) { in ReclaimPages()
460 Pdpt = (UINT64*)(UINTN)(Pml4[Pml4Index] & gPhyMask); in ReclaimPages()
541 Acc = GetAndUpdateAccNum (Pml4 + Pml4Index); in ReclaimPages()
551 ReleasePageAddress = Pml4 + Pml4Index; in ReclaimPages()
575 Pdpt = (UINT64*)(UINTN)(Pml4[MinPml4] & gPhyMask); in ReclaimPages()
600 SubEntriesNum = GetSubEntriesNum (Pml4 + MinPml4); in ReclaimPages()
[all …]
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/
DSmmStmSupport.c44 UINT64 *Pml4; in StmGen4GPageTable() local
46 Pml4 = (UINT64*)(UINTN)PageTableBase; in StmGen4GPageTable()
48 *Pml4 = PageTableBase | IA32_PG_RW | IA32_PG_P; in StmGen4GPageTable()
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
DSmmProfile.c473 UINT64 *Pml4; in InitPaging() local
488 Pml4 = (UINT64*)(UINTN)mSmmProfileCr3; in InitPaging()
510 if ((Pml4[Level1] & IA32_PG_P) == 0) { in InitPaging()
516 Pde = (UINT64 *)(UINTN)(Pml4[Level1] & PHYSICAL_ADDRESS_MASK); in InitPaging()
574 if ((Pml4[Level1] & IA32_PG_P) == 0) { in InitPaging()
580 Pde = (UINT64 *)(UINTN)(Pml4[Level1] & PHYSICAL_ADDRESS_MASK); in InitPaging()