Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/
DSmmProfileArch.c43 UINT64 *PTEntry; in InitSmmS3Cr3() local
53 PTEntry = (UINT64*)AllocatePageTableMemory (1); in InitSmmS3Cr3()
54 ASSERT (PTEntry != NULL); in InitSmmS3Cr3()
55 *PTEntry = Pages | PAGE_ATTRIBUTE_BITS; in InitSmmS3Cr3()
56 ZeroMem (PTEntry + 1, EFI_PAGE_SIZE - sizeof (*PTEntry)); in InitSmmS3Cr3()
61 mSmmS3ResumeState->SmmS3Cr3 = (UINT32)(UINTN)PTEntry; in InitSmmS3Cr3()
DPageTbl.c242 UINT64 *PTEntry; in SmmInitPageTable() local
269 PTEntry = (UINT64*)(UINTN)Pages; in SmmInitPageTable()
271 PTEntry[Index] |= IA32_PG_PMNT; in SmmInitPageTable()
277 PTEntry = (UINT64*)AllocatePageTableMemory (1); in SmmInitPageTable()
278 ASSERT (PTEntry != NULL); in SmmInitPageTable()
279 *PTEntry = Pages | PAGE_ATTRIBUTE_BITS; in SmmInitPageTable()
280 ZeroMem (PTEntry + 1, EFI_PAGE_SIZE - sizeof (*PTEntry)); in SmmInitPageTable()
285 SetSubEntriesNum (PTEntry, 3); in SmmInitPageTable()
288 SetStaticPageTable ((UINTN)PTEntry); in SmmInitPageTable()
333 return (UINT32)(UINTN)PTEntry; in SmmInitPageTable()