/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/ |
H A D | PageTbl.c | 443 UINTN PdptIndex; in ReclaimPages() local 478 for (PdptIndex = 0; PdptIndex < EFI_PAGE_SIZE / sizeof (*Pdpt); PdptIndex++) { in ReclaimPages() 479 if ((Pdpt[PdptIndex] & IA32_PG_P) == 0 || (Pdpt[PdptIndex] & IA32_PG_PMNT) != 0) { in ReclaimPages() 483 if ((Pdpt[PdptIndex] & IA32_PG_PMNT) != 0) { in ReclaimPages() 491 if ((Pdpt[PdptIndex] & IA32_PG_PS) == 0) { in ReclaimPages() 497 Pdt = (UINT64*)(UINTN)(Pdpt[PdptIndex] & ~mAddressEncMask & gPhyMask); in ReclaimPages() 526 MinPdpt = PdptIndex; in ReclaimPages() 537 Acc = GetAndUpdateAccNum (Pdpt + PdptIndex); in ReclaimPages() 545 MinPdpt = PdptIndex; in ReclaimPages() 547 ReleasePageAddress = Pdpt + PdptIndex; in ReclaimPages()
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/ |
H A D | PageTbl.c | 443 UINTN PdptIndex; in ReclaimPages() local 478 for (PdptIndex = 0; PdptIndex < EFI_PAGE_SIZE / sizeof (*Pdpt); PdptIndex++) { in ReclaimPages() 479 if ((Pdpt[PdptIndex] & IA32_PG_P) == 0 || (Pdpt[PdptIndex] & IA32_PG_PMNT) != 0) { in ReclaimPages() 483 if ((Pdpt[PdptIndex] & IA32_PG_PMNT) != 0) { in ReclaimPages() 491 if ((Pdpt[PdptIndex] & IA32_PG_PS) == 0) { in ReclaimPages() 497 Pdt = (UINT64*)(UINTN)(Pdpt[PdptIndex] & ~mAddressEncMask & gPhyMask); in ReclaimPages() 526 MinPdpt = PdptIndex; in ReclaimPages() 537 Acc = GetAndUpdateAccNum (Pdpt + PdptIndex); in ReclaimPages() 545 MinPdpt = PdptIndex; in ReclaimPages() 547 ReleasePageAddress = Pdpt + PdptIndex; in ReclaimPages()
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/ |
H A D | PageTbl.c | 443 UINTN PdptIndex; in ReclaimPages() local 478 for (PdptIndex = 0; PdptIndex < EFI_PAGE_SIZE / sizeof (*Pdpt); PdptIndex++) { in ReclaimPages() 479 if ((Pdpt[PdptIndex] & IA32_PG_P) == 0 || (Pdpt[PdptIndex] & IA32_PG_PMNT) != 0) { in ReclaimPages() 483 if ((Pdpt[PdptIndex] & IA32_PG_PMNT) != 0) { in ReclaimPages() 491 if ((Pdpt[PdptIndex] & IA32_PG_PS) == 0) { in ReclaimPages() 497 Pdt = (UINT64*)(UINTN)(Pdpt[PdptIndex] & ~mAddressEncMask & gPhyMask); in ReclaimPages() 526 MinPdpt = PdptIndex; in ReclaimPages() 537 Acc = GetAndUpdateAccNum (Pdpt + PdptIndex); in ReclaimPages() 545 MinPdpt = PdptIndex; in ReclaimPages() 547 ReleasePageAddress = Pdpt + PdptIndex; in ReclaimPages()
|
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/ |
H A D | PageTbl.c | 554 UINTN PdptIndex; in ReclaimPages() local 623 for (PdptIndex = 0; PdptIndex < EFI_PAGE_SIZE / sizeof (*Pdpt); PdptIndex++) { in ReclaimPages() 624 if ((Pdpt[PdptIndex] & IA32_PG_P) == 0 || (Pdpt[PdptIndex] & IA32_PG_PMNT) != 0) { in ReclaimPages() 628 if ((Pdpt[PdptIndex] & IA32_PG_PMNT) != 0) { in ReclaimPages() 636 if ((Pdpt[PdptIndex] & IA32_PG_PS) == 0) { in ReclaimPages() 642 Pdt = (UINT64*)(UINTN)(Pdpt[PdptIndex] & ~mAddressEncMask & gPhyMask); in ReclaimPages() 663 if (PdtIndex != PFAddressPdtIndex || PdptIndex != PFAddressPdptIndex || in ReclaimPages() 674 MinPdpt = PdptIndex; in ReclaimPages() 688 Acc = GetAndUpdateAccNum (Pdpt + PdptIndex); in ReclaimPages() 697 MinPdpt = PdptIndex; in ReclaimPages() [all …]
|
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/UefiCpuPkg/PiSmmCpuDxeSmm/X64/ |
H A D | PageTbl.c | 554 UINTN PdptIndex; in ReclaimPages() local 623 for (PdptIndex = 0; PdptIndex < EFI_PAGE_SIZE / sizeof (*Pdpt); PdptIndex++) { in ReclaimPages() 624 if ((Pdpt[PdptIndex] & IA32_PG_P) == 0 || (Pdpt[PdptIndex] & IA32_PG_PMNT) != 0) { in ReclaimPages() 628 if ((Pdpt[PdptIndex] & IA32_PG_PMNT) != 0) { in ReclaimPages() 636 if ((Pdpt[PdptIndex] & IA32_PG_PS) == 0) { in ReclaimPages() 642 Pdt = (UINT64*)(UINTN)(Pdpt[PdptIndex] & ~mAddressEncMask & gPhyMask); in ReclaimPages() 663 if (PdtIndex != PFAddressPdtIndex || PdptIndex != PFAddressPdptIndex || in ReclaimPages() 674 MinPdpt = PdptIndex; in ReclaimPages() 688 Acc = GetAndUpdateAccNum (Pdpt + PdptIndex); in ReclaimPages() 697 MinPdpt = PdptIndex; in ReclaimPages() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/ |
H A D | PageTbl.c | 554 UINTN PdptIndex; in ReclaimPages() local 623 for (PdptIndex = 0; PdptIndex < EFI_PAGE_SIZE / sizeof (*Pdpt); PdptIndex++) { in ReclaimPages() 624 if ((Pdpt[PdptIndex] & IA32_PG_P) == 0 || (Pdpt[PdptIndex] & IA32_PG_PMNT) != 0) { in ReclaimPages() 628 if ((Pdpt[PdptIndex] & IA32_PG_PMNT) != 0) { in ReclaimPages() 636 if ((Pdpt[PdptIndex] & IA32_PG_PS) == 0) { in ReclaimPages() 642 Pdt = (UINT64*)(UINTN)(Pdpt[PdptIndex] & ~mAddressEncMask & gPhyMask); in ReclaimPages() 663 if (PdtIndex != PFAddressPdtIndex || PdptIndex != PFAddressPdptIndex || in ReclaimPages() 674 MinPdpt = PdptIndex; in ReclaimPages() 688 Acc = GetAndUpdateAccNum (Pdpt + PdptIndex); in ReclaimPages() 697 MinPdpt = PdptIndex; in ReclaimPages() [all …]
|
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/UefiCpuPkg/PiSmmCpuDxeSmm/X64/ |
H A D | PageTbl.c | 585 UINTN PdptIndex; in ReclaimPages() local 654 for (PdptIndex = 0; PdptIndex < EFI_PAGE_SIZE / sizeof (*Pdpt); PdptIndex++) { in ReclaimPages() 655 if ((Pdpt[PdptIndex] & IA32_PG_P) == 0 || (Pdpt[PdptIndex] & IA32_PG_PMNT) != 0) { in ReclaimPages() 659 if ((Pdpt[PdptIndex] & IA32_PG_PMNT) != 0) { in ReclaimPages() 667 if ((Pdpt[PdptIndex] & IA32_PG_PS) == 0) { in ReclaimPages() 673 Pdt = (UINT64*)(UINTN)(Pdpt[PdptIndex] & ~mAddressEncMask & gPhyMask); in ReclaimPages() 694 if (PdtIndex != PFAddressPdtIndex || PdptIndex != PFAddressPdptIndex || in ReclaimPages() 705 MinPdpt = PdptIndex; in ReclaimPages() 719 Acc = GetAndUpdateAccNum (Pdpt + PdptIndex); in ReclaimPages() 728 MinPdpt = PdptIndex; in ReclaimPages() [all …]
|
/dports/sysutils/edk2/edk2-edk2-stable202102/UefiCpuPkg/PiSmmCpuDxeSmm/X64/ |
H A D | PageTbl.c | 585 UINTN PdptIndex; in ReclaimPages() local 654 for (PdptIndex = 0; PdptIndex < EFI_PAGE_SIZE / sizeof (*Pdpt); PdptIndex++) { in ReclaimPages() 655 if ((Pdpt[PdptIndex] & IA32_PG_P) == 0 || (Pdpt[PdptIndex] & IA32_PG_PMNT) != 0) { in ReclaimPages() 659 if ((Pdpt[PdptIndex] & IA32_PG_PMNT) != 0) { in ReclaimPages() 667 if ((Pdpt[PdptIndex] & IA32_PG_PS) == 0) { in ReclaimPages() 673 Pdt = (UINT64*)(UINTN)(Pdpt[PdptIndex] & ~mAddressEncMask & gPhyMask); in ReclaimPages() 694 if (PdtIndex != PFAddressPdtIndex || PdptIndex != PFAddressPdptIndex || in ReclaimPages() 705 MinPdpt = PdptIndex; in ReclaimPages() 719 Acc = GetAndUpdateAccNum (Pdpt + PdptIndex); in ReclaimPages() 728 MinPdpt = PdptIndex; in ReclaimPages() [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/ |
H A D | PageTbl.c | 554 UINTN PdptIndex; in ReclaimPages() local 623 for (PdptIndex = 0; PdptIndex < EFI_PAGE_SIZE / sizeof (*Pdpt); PdptIndex++) { in ReclaimPages() 624 if ((Pdpt[PdptIndex] & IA32_PG_P) == 0 || (Pdpt[PdptIndex] & IA32_PG_PMNT) != 0) { in ReclaimPages() 628 if ((Pdpt[PdptIndex] & IA32_PG_PMNT) != 0) { in ReclaimPages() 636 if ((Pdpt[PdptIndex] & IA32_PG_PS) == 0) { in ReclaimPages() 642 Pdt = (UINT64*)(UINTN)(Pdpt[PdptIndex] & ~mAddressEncMask & gPhyMask); in ReclaimPages() 663 if (PdtIndex != PFAddressPdtIndex || PdptIndex != PFAddressPdptIndex || in ReclaimPages() 674 MinPdpt = PdptIndex; in ReclaimPages() 688 Acc = GetAndUpdateAccNum (Pdpt + PdptIndex); in ReclaimPages() 697 MinPdpt = PdptIndex; in ReclaimPages() [all …]
|
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/ |
H A D | SmmProfile.c | 547 UINTN PdptIndex; in InitPaging() local 616 for (PdptIndex = 0; PdptIndex < NumberOfPdptEntries; PdptIndex++, Pdpt++) { in InitPaging() 642 LShiftU64 ((Pml5Index << 9) + Pml4Index, 9) + PdptIndex, in InitPaging() 691 for (PdptIndex = 0; PdptIndex < NumberOfPdptEntries; PdptIndex++, Pdpt++) { in InitPaging() 720 LShiftU64 ((Pml5Index << 9) + Pml4Index, 9) + PdptIndex, in InitPaging()
|
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/ |
H A D | SmmProfile.c | 547 UINTN PdptIndex; in InitPaging() local 616 for (PdptIndex = 0; PdptIndex < NumberOfPdptEntries; PdptIndex++, Pdpt++) { in InitPaging() 642 LShiftU64 ((Pml5Index << 9) + Pml4Index, 9) + PdptIndex, in InitPaging() 691 for (PdptIndex = 0; PdptIndex < NumberOfPdptEntries; PdptIndex++, Pdpt++) { in InitPaging() 720 LShiftU64 ((Pml5Index << 9) + Pml4Index, 9) + PdptIndex, in InitPaging()
|
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/UefiCpuPkg/PiSmmCpuDxeSmm/ |
H A D | SmmProfile.c | 547 UINTN PdptIndex; in InitPaging() local 616 for (PdptIndex = 0; PdptIndex < NumberOfPdptEntries; PdptIndex++, Pdpt++) { in InitPaging() 642 LShiftU64 ((Pml5Index << 9) + Pml4Index, 9) + PdptIndex, in InitPaging() 691 for (PdptIndex = 0; PdptIndex < NumberOfPdptEntries; PdptIndex++, Pdpt++) { in InitPaging() 720 LShiftU64 ((Pml5Index << 9) + Pml4Index, 9) + PdptIndex, in InitPaging()
|
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/UefiCpuPkg/PiSmmCpuDxeSmm/ |
H A D | SmmProfile.c | 547 UINTN PdptIndex; in InitPaging() local 616 for (PdptIndex = 0; PdptIndex < NumberOfPdptEntries; PdptIndex++, Pdpt++) { in InitPaging() 642 LShiftU64 ((Pml5Index << 9) + Pml4Index, 9) + PdptIndex, in InitPaging() 693 for (PdptIndex = 0; PdptIndex < NumberOfPdptEntries; PdptIndex++, Pdpt++) { in InitPaging() 722 LShiftU64 ((Pml5Index << 9) + Pml4Index, 9) + PdptIndex, in InitPaging()
|
/dports/sysutils/edk2/edk2-edk2-stable202102/UefiCpuPkg/PiSmmCpuDxeSmm/ |
H A D | SmmProfile.c | 547 UINTN PdptIndex; 616 for (PdptIndex = 0; PdptIndex < NumberOfPdptEntries; PdptIndex++, Pdpt++) { 642 LShiftU64 ((Pml5Index << 9) + Pml4Index, 9) + PdptIndex, 691 for (PdptIndex = 0; PdptIndex < NumberOfPdptEntries; PdptIndex++, Pdpt++) { 720 LShiftU64 ((Pml5Index << 9) + Pml4Index, 9) + PdptIndex,
|
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/ |
H A D | SmmProfile.c | 547 UINTN PdptIndex; in InitPaging() local 616 for (PdptIndex = 0; PdptIndex < NumberOfPdptEntries; PdptIndex++, Pdpt++) { in InitPaging() 642 LShiftU64 ((Pml5Index << 9) + Pml4Index, 9) + PdptIndex, in InitPaging() 691 for (PdptIndex = 0; PdptIndex < NumberOfPdptEntries; PdptIndex++, Pdpt++) { in InitPaging() 720 LShiftU64 ((Pml5Index << 9) + Pml4Index, 9) + PdptIndex, in InitPaging()
|