Home
last modified time | relevance | path

Searched refs:IA32_PG_P (Results 1 – 12 of 12) sorted by relevance

/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/
DSmmStmSupport.c23 #define IA32_PG_P BIT0 macro
48 *Pml4 = PageTableBase | IA32_PG_RW | IA32_PG_P; in StmGen4GPageTable()
55 *Pde = PageTableBase | IA32_PG_RW | IA32_PG_P; in StmGen4GPageTable()
60 *Pte = (((Index << 9) + SubIndex) << 21) | IA32_PG_PS | IA32_PG_RW | IA32_PG_P; in StmGen4GPageTable()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/X64/
DSetIdtEntry.c24 #define IA32_PG_P BIT0 macro
210 *Uplink = Address | IA32_PG_P | IA32_PG_RW; in AcquirePage()
245 if ((PageTable[PTIndex] & IA32_PG_P) == 0) { in PageFaultHandler()
252 PageTable[PTIndex] = (PFAddress & ~((1ull << 30) - 1)) | IA32_PG_P | IA32_PG_RW | IA32_PG_PS; in PageFaultHandler()
254 if ((PageTable[PTIndex] & IA32_PG_P) == 0) { in PageFaultHandler()
260 PageTable[PTIndex] = (PFAddress & ~((1ull << 21) - 1)) | IA32_PG_P | IA32_PG_RW | IA32_PG_PS; in PageFaultHandler()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/X64/
DX64Entry.c23 #define IA32_PG_P BIT0 macro
131 *Uplink = Address | IA32_PG_P | IA32_PG_RW; in AcquirePage()
179 if ((PageTable[PTIndex] & IA32_PG_P) == 0) { in PageFaultHandler()
186 PageTable[PTIndex] = (PFAddress & ~((1ull << 30) - 1)) | IA32_PG_P | IA32_PG_RW | IA32_PG_PS; in PageFaultHandler()
188 if ((PageTable[PTIndex] & IA32_PG_P) == 0) { in PageFaultHandler()
194 PageTable[PTIndex] = (PFAddress & ~((1ull << 21) - 1)) | IA32_PG_P | IA32_PG_RW | IA32_PG_PS; in PageFaultHandler()
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/
DSmmStmSupport.c23 #define IA32_PG_P BIT0 macro
48 *Pte = Address | IA32_PG_PS | IA32_PG_RW | IA32_PG_P; in StmGen4GPageTable()
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/
DSmmProfileArch.c169 if ((PageTable[PTIndex] & IA32_PG_P) != 0) { in RestorePageTableAbove4G()
173 if ((PageTable[PTIndex] & IA32_PG_P) != 0) { in RestorePageTableAbove4G()
DPageTbl.c454 if ((Pml4[Pml4Index] & IA32_PG_P) == 0 || (Pml4[Pml4Index] & IA32_PG_PMNT) != 0) { in ReclaimPages()
463 if ((Pdpt[PdptIndex] & IA32_PG_P) == 0 || (Pdpt[PdptIndex] & IA32_PG_PMNT) != 0) { in ReclaimPages()
484 if ((Pdt[PdtIndex] & IA32_PG_P) == 0 || (Pdt[PdtIndex] & IA32_PG_PMNT) != 0) { in ReclaimPages()
746 if ((PageTable[PTIndex] & IA32_PG_P) == 0) { in SmiDefaultPFHandler()
767 if ((PageTable[PTIndex] & IA32_PG_P) != 0) { in SmiDefaultPFHandler()
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
DPiSmmCpuDxeSmm.h74 #define IA32_PG_P BIT0 macro
87 #define PAGE_ATTRIBUTE_BITS (IA32_PG_D | IA32_PG_A | IA32_PG_U | IA32_PG_RW | IA32_PG_P)
92 #define IA32_PAE_PDPTE_ATTRIBUTE_BITS (IA32_PG_P)
DSmmProfile.c510 if ((Pml4[Level1] & IA32_PG_P) == 0) { in InitPaging()
521 if ((*Pde & IA32_PG_P) == 0) { in InitPaging()
538 if ((*Pte & IA32_PG_P) == 0) { in InitPaging()
574 if ((Pml4[Level1] & IA32_PG_P) == 0) { in InitPaging()
585 if ((*Pde & IA32_PG_P) == 0) { in InitPaging()
605 if ((*Pte & IA32_PG_P) == 0) { in InitPaging()
DMpService.c853 ASSERT (PageTable[PTIndex] & IA32_PG_P); in SetCacheability()
858 ASSERT (PageTable[PTIndex] & IA32_PG_P); in SetCacheability()
888 ASSERT (PageTable[PTIndex] & IA32_PG_P); in SetCacheability()
892 ASSERT (PageTable[PTIndex] & IA32_PG_P); in SetCacheability()
DSmmCpuMemoryManagement.c171 if ((*PageEntry & IA32_PG_P) == 0) { in GetAttributesFromPageEntry()
206 NewPageEntry &= ~(UINT64)IA32_PG_P; in ConvertPageEntryAttribute()
208 NewPageEntry |= IA32_PG_P; in ConvertPageEntryAttribute()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/DxeIplPeim/X64/
DVirtualMemory.c74 *PageEntry2M = (UINT64) (UINTN) PageTableEntry | IA32_PG_P | IA32_PG_RW; in Split2MPageTo4K()
119 *PageEntry1G = (UINT64) (UINTN) PageDirectoryEntry | IA32_PG_P | IA32_PG_RW; in Split1GPageTo2M()
DVirtualMemory.h148 #define IA32_PG_P BIT0 macro