Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/
DPageTbl.c101 UINT64 *PTEntry; in SmmInitPageTable() local
121 PTEntry = (UINT64*)(UINTN)Pages; in SmmInitPageTable()
123 PTEntry[Index] |= IA32_PG_PMNT; in SmmInitPageTable()
129 PTEntry = (UINT64*)(UINTN)(Pages - EFI_PAGES_TO_SIZE (PAGE_TABLE_PAGES + 1)); in SmmInitPageTable()
130 *PTEntry = Pages + PAGE_ATTRIBUTE_BITS; in SmmInitPageTable()
131 ZeroMem (PTEntry + 1, EFI_PAGE_SIZE - sizeof (*PTEntry)); in SmmInitPageTable()
135 SetSubEntriesNum (PTEntry, 3); in SmmInitPageTable()
140 FreePage = (LIST_ENTRY*)(PTEntry + EFI_PAGE_SIZE / sizeof (*PTEntry)); in SmmInitPageTable()
177 return (UINT32)(UINTN)PTEntry; in SmmInitPageTable()
DSmmProfileArch.c43 UINT64 *PTEntry; in InitSmmS3Cr3() local
53 PTEntry = (UINT64*)(UINTN)(Pages - EFI_PAGES_TO_SIZE (1)); in InitSmmS3Cr3()
54 *PTEntry = Pages | PAGE_ATTRIBUTE_BITS; in InitSmmS3Cr3()
55 ZeroMem (PTEntry + 1, EFI_PAGE_SIZE - sizeof (*PTEntry)); in InitSmmS3Cr3()
60 mSmmS3ResumeState->SmmS3Cr3 = (UINT32)(UINTN)PTEntry; in InitSmmS3Cr3()