/device/linaro/bootloader/edk2/IntelFspWrapperPkg/FspNotifyDxe/ |
D | LoadBelow4G.c | 100 if (ImageContext.SectionAlignment > EFI_PAGE_SIZE) { in RelocateImageUnder4GIfNeeded() 101 Pages = EFI_SIZE_TO_PAGES ((UINTN) (ImageContext.ImageSize + ImageContext.SectionAlignment)); in RelocateImageUnder4GIfNeeded() 117 ImageContext.ImageAddress += ImageContext.SectionAlignment - 1; in RelocateImageUnder4GIfNeeded() 118 ImageContext.ImageAddress &= ~((EFI_PHYSICAL_ADDRESS)(ImageContext.SectionAlignment - 1)); in RelocateImageUnder4GIfNeeded()
|
/device/linaro/bootloader/edk2/IntelFsp2WrapperPkg/FspWrapperNotifyDxe/ |
D | LoadBelow4G.c | 100 if (ImageContext.SectionAlignment > EFI_PAGE_SIZE) { in RelocateImageUnder4GIfNeeded() 101 Pages = EFI_SIZE_TO_PAGES ((UINTN) (ImageContext.ImageSize + ImageContext.SectionAlignment)); in RelocateImageUnder4GIfNeeded() 117 ImageContext.ImageAddress += ImageContext.SectionAlignment - 1; in RelocateImageUnder4GIfNeeded() 118 ImageContext.ImageAddress &= ~((EFI_PHYSICAL_ADDRESS)(ImageContext.SectionAlignment - 1)); in RelocateImageUnder4GIfNeeded()
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/S3Support/Dxe/ |
D | QncS3Support.c | 299 BufferSize + ImageContext.SectionAlignment, in LoadQncS3Image() 309 mQncS3ImageSize = BufferSize + ImageContext.SectionAlignment; in LoadQncS3Image() 318 if (ImageContext.SectionAlignment != 0) { in LoadQncS3Image() 319 ImageContext.ImageAddress += ImageContext.SectionAlignment - 1; in LoadQncS3Image() 320 ImageContext.ImageAddress &= ~(ImageContext.SectionAlignment - 1); in LoadQncS3Image()
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/ |
D | DataSection.py | 80 if ImageObj.SectionAlignment < 0x400: 81 self.Alignment = str (ImageObj.SectionAlignment) 83 self.Alignment = str (ImageObj.SectionAlignment / 0x400) + 'K'
|
D | EfiSection.py | 232 if ImageObj.SectionAlignment < 0x400: 233 Align = str (ImageObj.SectionAlignment) 235 Align = str (ImageObj.SectionAlignment / 0x400) + 'K'
|
D | FfsInfStatement.py | 729 if ImageObj.SectionAlignment < 0x400: 730 self.Alignment = str (ImageObj.SectionAlignment) 732 self.Alignment = str (ImageObj.SectionAlignment / 0x400) + 'K' 768 if ImageObj.SectionAlignment < 0x400: 769 self.Alignment = str (ImageObj.SectionAlignment) 771 self.Alignment = str (ImageObj.SectionAlignment / 0x400) + 'K'
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/ |
D | ScriptExecute.c | 310 if (ImageContext.SectionAlignment > EFI_PAGE_SIZE) { in ReadyToLockEventNotify() 311 Pages = EFI_SIZE_TO_PAGES ((UINTN) (ImageContext.ImageSize + ImageContext.SectionAlignment)); in ReadyToLockEventNotify() 327 ImageContext.ImageAddress += ImageContext.SectionAlignment - 1; in ReadyToLockEventNotify() 328 ImageContext.ImageAddress &= ~((EFI_PHYSICAL_ADDRESS)(ImageContext.SectionAlignment - 1)); in ReadyToLockEventNotify()
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Acpi/Dxe/BootScriptExecutorDxe/ |
D | ScriptExecute.c | 215 Pages = EFI_SIZE_TO_PAGES(BufferSize + ImageContext.SectionAlignment); in BootScriptExecutorEntryPoint() 230 ImageContext.ImageAddress += ImageContext.SectionAlignment - 1; in BootScriptExecutorEntryPoint() 231 ImageContext.ImageAddress &= ~(ImageContext.SectionAlignment - 1); in BootScriptExecutorEntryPoint()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Ipf/ |
D | IpfBootSupport.c | 228 ImageContext.ImageAddress += ImageContext.SectionAlignment - 1; in RelocateImageUnder4GIfNeeded() 229 ImageContext.ImageAddress &= ~((PHYSICAL_ADDRESS)ImageContext.SectionAlignment - 1); in RelocateImageUnder4GIfNeeded()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Misc/ |
D | PropertiesTable.c | 824 IN UINT32 SectionAlignment in SetPropertiesTableSectionAlignment() argument 827 if (((SectionAlignment & (EFI_ACPI_RUNTIME_PAGE_ALLOCATION_ALIGNMENT - 1)) != 0) && in SetPropertiesTableSectionAlignment() 1087 UINT32 SectionAlignment; in InsertImageRecord() local 1155 SectionAlignment = Hdr.Pe32->OptionalHeader.SectionAlignment; in InsertImageRecord() 1157 SectionAlignment = Hdr.Pe32Plus->OptionalHeader.SectionAlignment; in InsertImageRecord() 1160 SetPropertiesTableSectionAlignment (SectionAlignment); in InsertImageRecord() 1161 if ((SectionAlignment & (EFI_ACPI_RUNTIME_PAGE_ALLOCATION_ALIGNMENT - 1)) != 0) { in InsertImageRecord() 1163 SectionAlignment, EFI_ACPI_RUNTIME_PAGE_ALLOCATION_ALIGNMENT >> 10)); in InsertImageRecord()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/ |
D | MemoryAttributesTable.c | 795 IN UINT32 SectionAlignment in SetMemoryAttributesTableSectionAlignment() argument 798 if (((SectionAlignment & (EFI_ACPI_RUNTIME_PAGE_ALLOCATION_ALIGNMENT - 1)) != 0) && in SetMemoryAttributesTableSectionAlignment() 1055 UINT32 SectionAlignment; in SmmInsertImageRecord() local 1122 SectionAlignment = Hdr.Pe32->OptionalHeader.SectionAlignment; in SmmInsertImageRecord() 1124 SectionAlignment = Hdr.Pe32Plus->OptionalHeader.SectionAlignment; in SmmInsertImageRecord() 1127 SetMemoryAttributesTableSectionAlignment (SectionAlignment); in SmmInsertImageRecord() 1128 if ((SectionAlignment & (EFI_ACPI_RUNTIME_PAGE_ALLOCATION_ALIGNMENT - 1)) != 0) { in SmmInsertImageRecord() 1130 SectionAlignment, EFI_ACPI_RUNTIME_PAGE_ALLOCATION_ALIGNMENT >> 10)); in SmmInsertImageRecord()
|
D | Dispatcher.c | 282 …UsageBitMap (FixLoadingAddress, (UINTN)(ImageContext->ImageSize + ImageContext->SectionAlignment)); in GetPeCoffImageFixLoadingAssignedAddress() 483 …ageCount = (UINTN)EFI_SIZE_TO_PAGES((UINTN)ImageContext.ImageSize + ImageContext.SectionAlignment); in SmmLoadImage() 501 …ageCount = (UINTN)EFI_SIZE_TO_PAGES((UINTN)ImageContext.ImageSize + ImageContext.SectionAlignment); in SmmLoadImage() 522 ImageContext.ImageAddress += ImageContext.SectionAlignment - 1; in SmmLoadImage() 523 ImageContext.ImageAddress &= ~((EFI_PHYSICAL_ADDRESS)(ImageContext.SectionAlignment - 1)); in SmmLoadImage()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/Image/ |
D | Image.c | 445 if (ImageContext.SectionAlignment > EFI_PAGE_SIZE) { in LoadAndRelocatePeCoffImage() 446 AlignImageSize += ImageContext.SectionAlignment; in LoadAndRelocatePeCoffImage() 465 if (ImageContext.SectionAlignment > EFI_PAGE_SIZE) { in LoadAndRelocatePeCoffImage() 467 (ImageContext.ImageAddress + ImageContext.SectionAlignment - 1) & in LoadAndRelocatePeCoffImage() 468 ~((UINTN)ImageContext.SectionAlignment - 1); in LoadAndRelocatePeCoffImage()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/ |
D | BasePeCoff.c | 126 ImageContext->SectionAlignment = 4096; in GluePeCoffLoaderGetPeHeader() 141 ImageContext->SectionAlignment = Hdr.Pe32->OptionalHeader.SectionAlignment; in GluePeCoffLoaderGetPeHeader() 150 ImageContext->SectionAlignment = Hdr.Pe32Plus->OptionalHeader.SectionAlignment; in GluePeCoffLoaderGetPeHeader() 419 … ImageContext->SectionAlignment - 1) & ~(ImageContext->SectionAlignment - 1); in GluePeCoffLoaderGetImageInfo() 841 if ((ImageContext->ImageAddress & (CheckContext.SectionAlignment - 1)) != 0) { in GluePeCoffLoaderLoadImage()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
D | BasePeCoff.c | 349 ImageContext->SectionAlignment = OptionHeader.Optional32->SectionAlignment; in PeCoffLoaderGetImageInfo() 362 ImageContext->SectionAlignment = OptionHeader.Optional64->SectionAlignment; in PeCoffLoaderGetImageInfo() 446 ImageContext->SectionAlignment = 4096; in PeCoffLoaderGetImageInfo() 502 … ImageContext->SectionAlignment - 1) & ~(ImageContext->SectionAlignment - 1); in PeCoffLoaderGetImageInfo() 944 if ((ImageContext->ImageAddress & (CheckContext.SectionAlignment - 1)) != 0) { in PeCoffLoaderLoadImage()
|
D | PeCoffLib.h | 58 UINT32 SectionAlignment; member
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Guid/PeiPeCoffLoader/ |
D | PeiPeCoffLoader.h | 61 UINT32 SectionAlignment; member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Image/ |
D | Image.c | 418 …ap (ImageContext->ImageAddress, (UINTN)(ImageContext->ImageSize + ImageContext->SectionAlignment)); in GetPeCoffImageFixLoadingAssignedAddress() 518 if (Image->ImageContext.SectionAlignment > EFI_PAGE_SIZE) { in CoreLoadPeImage() 519 Size = (UINTN)Image->ImageContext.ImageSize + Image->ImageContext.SectionAlignment; in CoreLoadPeImage() 592 …EFI_SIZE_TO_PAGES ((UINTN)Image->ImageContext.ImageSize + Image->ImageContext.SectionAlignment))) { in CoreLoadPeImage() 593 … = EFI_SIZE_TO_PAGES ((UINTN)Image->ImageContext.ImageSize + Image->ImageContext.SectionAlignment); in CoreLoadPeImage() 597 … = EFI_SIZE_TO_PAGES ((UINTN)Image->ImageContext.ImageSize + Image->ImageContext.SectionAlignment); in CoreLoadPeImage() 604 (Image->ImageContext.ImageAddress + Image->ImageContext.SectionAlignment - 1) & in CoreLoadPeImage() 605 ~((UINTN)Image->ImageContext.SectionAlignment - 1); in CoreLoadPeImage()
|
/device/linaro/bootloader/edk2/MdePkg/Include/Library/ |
D | PeCoffLib.h | 122 UINT32 SectionAlignment; member
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/ |
D | PeCoffLoader.c | 234 ImageContext->SectionAlignment = 4096; in PeCoffLoaderGetPeHeader() 264 ImageContext->SectionAlignment = Hdr.Pe32->OptionalHeader.SectionAlignment; in PeCoffLoaderGetPeHeader() 474 ImageContext->SectionAlignment = Hdr.Pe32->OptionalHeader.SectionAlignment; in PeCoffLoaderGetImageInfo() 572 ImageContext->SectionAlignment = 4096; in PeCoffLoaderGetImageInfo() 1087 if ((ImageContext->ImageAddress & (CheckContext.SectionAlignment - 1)) != 0) { in PeCoffLoaderLoadImage()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/ |
D | ScriptSave.c | 902 if (ImageContext.SectionAlignment > EFI_PAGE_SIZE) { in InitializeScriptSaveOnS3SaveState() 903 … PageNumber = EFI_SIZE_TO_PAGES ((UINTN) (ImageContext.ImageSize + ImageContext.SectionAlignment)); in InitializeScriptSaveOnS3SaveState() 918 ImageContext.ImageAddress += ImageContext.SectionAlignment - 1; in InitializeScriptSaveOnS3SaveState() 919 ImageContext.ImageAddress &= ~(ImageContext.SectionAlignment - 1); in InitializeScriptSaveOnS3SaveState()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/ |
D | EdkIIGluePeCoffLib.h | 78 UINT32 SectionAlignment; member
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Include/ |
D | EfiImage.h | 183 UINT32 SectionAlignment; member 229 UINT32 SectionAlignment; member
|
/device/linaro/bootloader/edk2/Nt32Pkg/Sec/ |
D | SecMain.c | 805 …irtualAlloc (NULL, (SIZE_T) (ImageContext.ImageSize + (ImageContext.SectionAlignment * 2)), MEM_CO… in SecWinNtPeiLoadFile() 812 ImageContext.ImageAddress += ImageContext.SectionAlignment - 1; in SecWinNtPeiLoadFile() 813 ImageContext.ImageAddress &= ~((EFI_PHYSICAL_ADDRESS)ImageContext.SectionAlignment - 1); in SecWinNtPeiLoadFile()
|
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/ |
D | PeImage.h | 163 UINT32 SectionAlignment; member 213 UINT32 SectionAlignment; member
|