Home
last modified time | relevance | path

Searched refs:PHYSICAL_ADDRESS_MASK (Results 1 – 4 of 4) sorted by relevance

/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/
DSmmProfileArch.c114 …Uplink[mPFPageIndex] != NULL) && ((*mPFPageUplink[mPFPageIndex] & PHYSICAL_ADDRESS_MASK) == Addres… in AcquirePage()
167 PageTable = (UINT64*)(AsmReadCr3 () & PHYSICAL_ADDRESS_MASK); in RestorePageTableAbove4G()
171 PageTable = (UINT64*)(UINTN)(PageTable[PTIndex] & PHYSICAL_ADDRESS_MASK); in RestorePageTableAbove4G()
175 PageTable = (UINT64*)(UINTN)(PageTable[PTIndex] & PHYSICAL_ADDRESS_MASK); in RestorePageTableAbove4G()
182 Address = (UINT64)(PageTable[PTIndex] & PHYSICAL_ADDRESS_MASK); in RestorePageTableAbove4G()
183 …if ((Address & PHYSICAL_ADDRESS_MASK & ~((1ull << 21) - 1)) == ((PFAddress & PHYSICAL_ADDRESS_MASK in RestorePageTableAbove4G()
190 PageTable = (UINT64*)(UINTN)(PageTable[PTIndex] & PHYSICAL_ADDRESS_MASK); in RestorePageTableAbove4G()
196 Address = (UINT64)(PageTable[PTIndex] & PHYSICAL_ADDRESS_MASK); in RestorePageTableAbove4G()
197 …if ((Address & PHYSICAL_ADDRESS_MASK & ~((1ull << 12) - 1)) == (PFAddress & PHYSICAL_ADDRESS_MASK in RestorePageTableAbove4G()
226 PageTable = (UINT64*)(AsmReadCr3 () & PHYSICAL_ADDRESS_MASK); in RestorePageTableAbove4G()
[all …]
DSmmProfileArch.h64 #define PHYSICAL_ADDRESS_MASK ((1ull << 52) - SIZE_4KB) macro
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
DSmmProfile.c516 Pde = (UINT64 *)(UINTN)(Pml4[Level1] & PHYSICAL_ADDRESS_MASK); in InitPaging()
533 Pte = (UINT64 *)(UINTN)(*Pde & PHYSICAL_ADDRESS_MASK); in InitPaging()
553 ASSERT (Address == (*Pte & PHYSICAL_ADDRESS_MASK)); in InitPaging()
580 Pde = (UINT64 *)(UINTN)(Pml4[Level1] & PHYSICAL_ADDRESS_MASK); in InitPaging()
600 Pte = (UINT64 *)(UINTN)(*Pde & PHYSICAL_ADDRESS_MASK); in InitPaging()
627 Pt = (UINT64 *)(UINTN)(*Pte & PHYSICAL_ADDRESS_MASK); in InitPaging()
1155 PageTable = (UINT64*)(UINTN)(PageTable[PTIndex] & PHYSICAL_ADDRESS_MASK); in RestorePageTableBelow4G()
1163 PageTable = (UINT64*)(UINTN)(PageTable[PTIndex] & PHYSICAL_ADDRESS_MASK); in RestorePageTableBelow4G()
1201 PageTable = (UINT64*)(UINTN)(PageTable[PTIndex] & PHYSICAL_ADDRESS_MASK); in RestorePageTableBelow4G()
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/
DSmmProfileArch.h56 #define PHYSICAL_ADDRESS_MASK ((1ull << 32) - SIZE_4KB) macro