Home
last modified time | relevance | path

Searched refs:PageAddress (Results 1 – 16 of 16) sorted by relevance

/device/linaro/bootloader/edk2/DuetPkg/DxeIpl/Ia32/
DPaging.c75 UINT64 PageAddress; in Ia32Create4KPageTables() local
80 PageAddress = 0; in Ia32Create4KPageTables()
101 PageTableEntry4KB->Uint32 = (UINT32)PageAddress; in Ia32Create4KPageTables()
105 PageAddress += EFI_PAGE_SIZE_4K; in Ia32Create4KPageTables()
116 UINT32 PageAddress; in Ia32Create4MPageTables() local
123 PageAddress = 0; in Ia32Create4MPageTables()
137 PageDirectoryEntry4MB->Uint32 = (UINT32)PageAddress; in Ia32Create4MPageTables()
142 PageAddress += EFI_PAGE_SIZE_4M; in Ia32Create4MPageTables()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/DxeIplPeim/X64/
DVirtualMemory.c159 EFI_PHYSICAL_ADDRESS PageAddress; in CreateIdentityMappingPageTables() local
239 PageAddress = 0; in CreateIdentityMappingPageTables()
258 …oryEntries < 512; IndexOfPageDirectoryEntries++, PageDirectory1GEntry++, PageAddress += SIZE_1GB) { in CreateIdentityMappingPageTables()
259 …if (PcdGetBool (PcdSetNxForStack) && (PageAddress < StackBase + StackSize) && ((PageAddress + SIZE… in CreateIdentityMappingPageTables()
260 Split1GPageTo2M (PageAddress, (UINT64 *) PageDirectory1GEntry, StackBase, StackSize); in CreateIdentityMappingPageTables()
265 PageDirectory1GEntry->Uint64 = (UINT64)PageAddress; in CreateIdentityMappingPageTables()
287 …ctoryEntries < 512; IndexOfPageDirectoryEntries++, PageDirectoryEntry++, PageAddress += SIZE_2MB) { in CreateIdentityMappingPageTables()
288 …if (PcdGetBool (PcdSetNxForStack) && (PageAddress < StackBase + StackSize) && ((PageAddress + SIZE… in CreateIdentityMappingPageTables()
292 Split2MPageTo4K (PageAddress, (UINT64 *) PageDirectoryEntry, StackBase, StackSize); in CreateIdentityMappingPageTables()
297 PageDirectoryEntry->Uint64 = (UINT64)PageAddress; in CreateIdentityMappingPageTables()
/device/linaro/bootloader/edk2/DuetPkg/DxeIpl/X64/
DPaging.c76 UINT64 PageAddress; in X64Create4KPageTables() local
98 for (PTEIndex = 0, PageAddress = 0; in X64Create4KPageTables()
100 PTEIndex++, PageTableEntry4KB++, PageAddress += EFI_PAGE_SIZE_4K in X64Create4KPageTables()
105 PageTableEntry4KB->Uint64 = (UINT64)PageAddress; in X64Create4KPageTables()
118 UINT64 PageAddress; in X64Create2MPageTables() local
128 PageAddress = 0; in X64Create2MPageTables()
172 PageDirectoryEntry2MB->Uint64 = (UINT64)PageAddress; in X64Create2MPageTables()
177 PageAddress += EFI_PAGE_SIZE_2M; in X64Create2MPageTables()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/DxeIplPeim/Ia32/
DDxeLoadFunc.c84 UINTN PageAddress; in Create4GPageTablesIa32Pae() local
94 PageAddress = (UINTN) AllocatePages (TotalPagesNum); in Create4GPageTablesIa32Pae()
95 ASSERT (PageAddress != 0); in Create4GPageTablesIa32Pae()
97 PageMap = (VOID *) PageAddress; in Create4GPageTablesIa32Pae()
98 PageAddress += SIZE_4KB; in Create4GPageTablesIa32Pae()
108 PageDirectoryEntry = (VOID *) PageAddress; in Create4GPageTablesIa32Pae()
109 PageAddress += SIZE_4KB; in Create4GPageTablesIa32Pae()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/AcpiTableDxe/
DAcpiTableProtocol.c338 EFI_PHYSICAL_ADDRESS PageAddress; in ReallocateAcpiTableBuffer() local
370 PageAddress = 0xFFFFFFFF; in ReallocateAcpiTableBuffer()
375 &PageAddress in ReallocateAcpiTableBuffer()
382 Pointer = (UINT8 *) (UINTN) PageAddress; in ReallocateAcpiTableBuffer()
501 CurrentTableList->PageAddress = 0xFFFFFFFF; in AddTableToList()
524 &CurrentTableList->PageAddress in AddTableToList()
534 &CurrentTableList->PageAddress in AddTableToList()
547 CurrentTableList->Table = (EFI_ACPI_COMMON_HEADER *) (UINTN) CurrentTableList->PageAddress; in AddTableToList()
580 gBS->FreePages (CurrentTableList->PageAddress, CurrentTableList->NumberOfPages); in AddTableToList()
722 gBS->FreePages (CurrentTableList->PageAddress, CurrentTableList->NumberOfPages); in AddTableToList()
[all …]
DAcpiTable.h73 EFI_PHYSICAL_ADDRESS PageAddress; member
DAcpiSdt.c77 if (((UINTN)CurrentTableList->PageAddress <= (UINTN)Buffer) && in FindTableByBuffer()
78 …((UINTN)CurrentTableList->PageAddress + EFI_PAGES_TO_SIZE(CurrentTableList->NumberOfPages) > (UINT… in FindTableByBuffer()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/Acpi/AcpiSupportDxe/
DAcpiSupportAcpiSupportProtocol.c498 EFI_PHYSICAL_ADDRESS PageAddress; in ReallocateAcpiTableBuffer() local
527 PageAddress = 0xFFFFFFFF; in ReallocateAcpiTableBuffer()
532 &PageAddress in ReallocateAcpiTableBuffer()
539 Pointer = (UINT8 *) (UINTN) PageAddress; in ReallocateAcpiTableBuffer()
647 CurrentTableList->PageAddress = 0xFFFFFFFF; in AddTableToList()
670 &CurrentTableList->PageAddress in AddTableToList()
680 &CurrentTableList->PageAddress in AddTableToList()
693 CurrentTableList->Table = (EFI_ACPI_COMMON_HEADER *) (UINTN) CurrentTableList->PageAddress; in AddTableToList()
727 gBS->FreePages (CurrentTableList->PageAddress, CurrentTableList->NumberOfPages); in AddTableToList()
868 gBS->FreePages (CurrentTableList->PageAddress, CurrentTableList->NumberOfPages); in AddTableToList()
[all …]
DAcpiSupport.h67 EFI_PHYSICAL_ADDRESS PageAddress; member
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenPage/
DGenPage.c138 UINT64 PageAddress; in CreateIdentityMappingPageTables() local
156 PageAddress = 0; in CreateIdentityMappingPageTables()
202 PageDirectoryEntry2MB->Uint64 = (UINT64)PageAddress; in CreateIdentityMappingPageTables()
207 PageAddress += EFI_PAGE_SIZE_2M; in CreateIdentityMappingPageTables()
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/
DPageTbl.c140 UINT64 PageAddress; in SetStaticPageTable() local
166 PageAddress = 0; in SetStaticPageTable()
182 …oryEntries < 512; IndexOfPageDirectoryEntries++, PageDirectory1GEntry++, PageAddress += SIZE_1GB) { in SetStaticPageTable()
192 *PageDirectory1GEntry = (PageAddress & gPhyMask) | IA32_PG_PS | PAGE_ATTRIBUTE_BITS; in SetStaticPageTable()
195 PageAddress = BASE_4GB; in SetStaticPageTable()
219 …ctoryEntries < 512; IndexOfPageDirectoryEntries++, PageDirectoryEntry++, PageAddress += SIZE_2MB) { in SetStaticPageTable()
223 *PageDirectoryEntry = (UINT64)PageAddress | IA32_PG_PS | PAGE_ATTRIBUTE_BITS; in SetStaticPageTable()
/device/linaro/bootloader/edk2/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/
DS3Resume.c604 EFI_PHYSICAL_ADDRESS PageAddress; in RestoreS3PageTables() local
687 PageAddress = 0; in RestoreS3PageTables()
706 …oryEntries < 512; IndexOfPageDirectoryEntries++, PageDirectory1GEntry++, PageAddress += SIZE_1GB) { in RestoreS3PageTables()
710 PageDirectory1GEntry->Uint64 = (UINT64)PageAddress; in RestoreS3PageTables()
731 …ctoryEntries < 512; IndexOfPageDirectoryEntries++, PageDirectoryEntry++, PageAddress += SIZE_2MB) { in RestoreS3PageTables()
735 PageDirectoryEntry->Uint64 = (UINT64)PageAddress; in RestoreS3PageTables()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/
DUefiCapsule.c136 EFI_PHYSICAL_ADDRESS PageAddress; in Create4GPageTables() local
178 PageAddress = 0; in Create4GPageTables()
197 …oryEntries < 512; IndexOfPageDirectoryEntries++, PageDirectory1GEntry++, PageAddress += SIZE_1GB) { in Create4GPageTables()
201 PageDirectory1GEntry->Uint64 = (UINT64)PageAddress; in Create4GPageTables()
222 …ctoryEntries < 512; IndexOfPageDirectoryEntries++, PageDirectoryEntry++, PageAddress += SIZE_2MB) { in Create4GPageTables()
226 PageDirectoryEntry->Uint64 = (UINT64)PageAddress; in Create4GPageTables()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/SmmBaseHelper/
DSmmBaseHelper.c280 IN UINT64 PageAddress, in ReadWriteCpuStatePage() argument
291 …FirstSSIndex = ((UINTN)PageAddress - (UINTN)mFrameworkSmst->CpuSaveState) / sizeof (EFI_SMM_CPU_SA… in ReadWriteCpuStatePage()
293 …if (((UINTN)PageAddress - (UINTN)mFrameworkSmst->CpuSaveState) % sizeof (EFI_SMM_CPU_SAVE_STATE) !… in ReadWriteCpuStatePage()
297 …LastSSIndex = ((UINTN)PageAddress + SIZE_4KB - (UINTN)mFrameworkSmst->CpuSaveState - 1) / sizeof (… in ReadWriteCpuStatePage()
299 …if (((UINTN)PageAddress + SIZE_4KB - (UINTN)mFrameworkSmst->CpuSaveState) % sizeof (EFI_SMM_CPU_SA… in ReadWriteCpuStatePage()
314 …CopyMem ((VOID*)(UINTN)PageAddress, (VOID*)((UINTN)(mShadowSaveState + 1) - ClippedSize), ClippedS… in ReadWriteCpuStatePage()
316 …CopyMem ((VOID*)((UINTN)(mShadowSaveState + 1) - ClippedSize), (VOID*)(UINTN)PageAddress, ClippedS… in ReadWriteCpuStatePage()
/device/linaro/bootloader/edk2/FatPkg/EnhancedFatDxe/
DDiskCache.c120 VOID *PageAddress; in FatExchangeCachePage() local
127 PageAddress = DiskCache->CacheBase + (GroupNo << PageAlignment); in FatExchangeCachePage()
148 Status = FatDiskIo (Volume, IoMode, EntryPos, RealSize, PageAddress, Task); in FatExchangeCachePage()
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
DMpService.c749 UINTN PageAddress; in Gen4GPageTable() local
806 PageAddress = PageIndex; in Gen4GPageTable()
808 if (PageAddress == GuardPage) { in Gen4GPageTable()
812 Pte[Index] = PageAddress; in Gen4GPageTable()
818 Pte[Index] = PageAddress | PAGE_ATTRIBUTE_BITS; in Gen4GPageTable()
820 PageAddress+= EFI_PAGE_SIZE; in Gen4GPageTable()