/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/GenFds/ |
H A D | DataSection.py | 81 if ImageObj.SectionAlignment < 0x400: 82 self.Alignment = str (ImageObj.SectionAlignment) 84 self.Alignment = str (ImageObj.SectionAlignment / 0x400) + 'K'
|
H A D | EfiSection.py | 230 if ImageObj.SectionAlignment < 0x400: 231 self.Alignment = str (ImageObj.SectionAlignment) 233 self.Alignment = str (ImageObj.SectionAlignment / 0x400) + 'K'
|
H A D | FfsInfStatement.py | 534 if ImageObj.SectionAlignment < 0x400: 535 self.Alignment = str (ImageObj.SectionAlignment) 537 self.Alignment = str (ImageObj.SectionAlignment / 0x400) + 'K' 573 if ImageObj.SectionAlignment < 0x400: 574 self.Alignment = str (ImageObj.SectionAlignment) 576 self.Alignment = str (ImageObj.SectionAlignment / 0x400) + 'K'
|
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Ipf/ |
H A D | IpfBootSupport.c | 228 ImageContext.ImageAddress += ImageContext.SectionAlignment - 1; 229 ImageContext.ImageAddress &= ~(ImageContext.SectionAlignment - 1);
|
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Library/ |
H A D | PeCoffLib.h | 121 UINT32 SectionAlignment; member in struct:__anon11948 215 DestinationAddress, RelocationsStripped, SectionAlignment, SizeOfHeaders, and 222 If the image is a TE image, then SectionAlignment is set to 0. 250 ImageSize, DestinationAddress, RelocationsStripped, SectionAlignment, SizeOfHeaders, 285 DestinationAddress, RelocationsStripped, SectionAlignment, SizeOfHeaders, and DebugDirectoryEntryRva
|
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/Common/ |
H A D | PeCoffLib.h | 60 UINT32 SectionAlignment; member in struct:__anon9962
|
H A D | BasePeCoff.c | 355 ImageContext->SectionAlignment = OptionHeader.Optional32->SectionAlignment; 368 ImageContext->SectionAlignment = OptionHeader.Optional64->SectionAlignment; 452 ImageContext->SectionAlignment = 4096; 508 ImageContext->SectionAlignment - 1) & ~(ImageContext->SectionAlignment - 1); 916 if ((ImageContext->ImageAddress & (CheckContext.SectionAlignment - 1)) != 0) {
|
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/ |
H A D | ScriptExecute.c | 351 Pages = EFI_SIZE_TO_PAGES(BufferSize + ImageContext.SectionAlignment); 366 ImageContext.ImageAddress += ImageContext.SectionAlignment - 1; 367 ImageContext.ImageAddress &= ~(ImageContext.SectionAlignment - 1);
|
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Dxe/Image/ |
H A D | Image.c | 415 Status = CheckAndMarkFixLoadingMemoryUsageBitMap (ImageContext->ImageAddress, (UINTN)(ImageContext->ImageSize + ImageContext->SectionAlignment)); 515 if (Image->ImageContext.SectionAlignment > EFI_PAGE_SIZE) { 516 Size = (UINTN)Image->ImageContext.ImageSize + Image->ImageContext.SectionAlignment; 589 (EFI_SIZE_TO_PAGES ((UINTN)Image->ImageContext.ImageSize + Image->ImageContext.SectionAlignment))) { 590 Image->NumberOfPages = EFI_SIZE_TO_PAGES ((UINTN)Image->ImageContext.ImageSize + Image->ImageContext.SectionAlignment); 594 Image->NumberOfPages = EFI_SIZE_TO_PAGES ((UINTN)Image->ImageContext.ImageSize + Image->ImageContext.SectionAlignment); 601 (Image->ImageContext.ImageAddress + Image->ImageContext.SectionAlignment - 1) & 602 ~((UINTN)Image->ImageContext.SectionAlignment - 1);
|
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/PiSmmCore/ |
H A D | PiSmmIpl.c | 916 PageCount = (UINTN)EFI_SIZE_TO_PAGES((UINTN)ImageContext.ImageSize + ImageContext.SectionAlignment); 934 PageCount = (UINTN)EFI_SIZE_TO_PAGES((UINTN)ImageContext.ImageSize + ImageContext.SectionAlignment); 948 ImageContext.ImageAddress += ImageContext.SectionAlignment - 1; 949 ImageContext.ImageAddress &= ~(ImageContext.SectionAlignment - 1);
|
H A D | Dispatcher.c | 279 Status = CheckAndMarkFixLoadingMemoryUsageBitMap (FixLoaddingAddress, (UINTN)(ImageContext->ImageSize + ImageContext->SectionAlignment)); 457 PageCount = (UINTN)EFI_SIZE_TO_PAGES((UINTN)ImageContext.ImageSize + ImageContext.SectionAlignment); 475 PageCount = (UINTN)EFI_SIZE_TO_PAGES((UINTN)ImageContext.ImageSize + ImageContext.SectionAlignment); 496 ImageContext.ImageAddress += ImageContext.SectionAlignment - 1; 497 ImageContext.ImageAddress &= ~(ImageContext.SectionAlignment - 1);
|
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/Library/VBoxPeCoffLib/ |
H A D | BasePeCoff.c | 195 // For TeImage, SectionAlignment is undefined to be set to Zero 199 ImageContext->SectionAlignment = 0; 214 ImageContext->SectionAlignment = Hdr.Pe32->OptionalHeader.SectionAlignment; 223 ImageContext->SectionAlignment = Hdr.Pe32Plus->OptionalHeader.SectionAlignment; 254 DestinationAddress, RelocationsStripped, SectionAlignment, SizeOfHeaders, and 261 If the image is a TE image, then SectionAlignment is set to 0. 580 ImageSize, DestinationAddress, RelocationsStripped, SectionAlignment, SizeOfHeaders, 856 DestinationAddress, RelocationsStripped, SectionAlignment, SizeOfHeader [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BasePeCoffLib/ |
H A D | BasePeCoff.c | 127 // For TeImage, SectionAlignment is undefined to be set to Zero 131 ImageContext->SectionAlignment = 0; 210 ImageContext->SectionAlignment = Hdr.Pe32->OptionalHeader.SectionAlignment; 283 ImageContext->SectionAlignment = Hdr.Pe32Plus->OptionalHeader.SectionAlignment; 368 DestinationAddress, RelocationsStripped, SectionAlignment, SizeOfHeaders, and 375 If the image is a TE image, then SectionAlignment is set to 0. 695 ImageSize, DestinationAddress, RelocationsStripped, SectionAlignment, SizeOfHeaders, 977 DestinationAddress, RelocationsStripped, SectionAlignment, SizeOfHeader [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Include/IndustryStandard/ |
H A D | PeImage.h | 162 UINT32 SectionAlignment; member in struct:__anon11723 212 UINT32 SectionAlignment; member in struct:__anon11724
|
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/Include/IndustryStandard/ |
H A D | PeImage.h | 190 UINT32 SectionAlignment; member in struct:__anon10149 237 UINT32 SectionAlignment; member in struct:__anon10150
|
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/efi/IndustryStandard/ |
H A D | PeImage.h | 164 UINT32 SectionAlignment; member in struct:__anon15524 214 UINT32 SectionAlignment; member in struct:__anon15525
|
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenFv/ |
H A D | GenFvInternalLib.c | 2928 if ((ImgHdr->Pe32.OptionalHeader.SectionAlignment != ImgHdr->Pe32.OptionalHeader.FileAlignment)) { 3000 if ((ImgHdr->Pe32.OptionalHeader.SectionAlignment != ImgHdr->Pe32.OptionalHeader.FileAlignment)) { 3031 MemoryImagePointer = (UINT8 *) malloc ((UINTN) ImageContext.ImageSize + ImageContext.SectionAlignment); 3036 memset ((VOID *) MemoryImagePointer, 0, (UINTN) ImageContext.ImageSize + ImageContext.SectionAlignment); 3037 ImageContext.ImageAddress = ((UINTN) MemoryImagePointer + ImageContext.SectionAlignment - 1) & (~((UINTN) ImageContext.SectionAlignment - 1)); 3258 MemoryImagePointer = (UINT8 *) malloc ((UINTN) ImageContext.ImageSize + ImageContext.SectionAlignment); 3263 memset ((VOID *) MemoryImagePointer, 0, (UINTN) ImageContext.ImageSize + ImageContext.SectionAlignment); 3264 ImageContext.ImageAddress = ((UINTN) MemoryImagePointer + ImageContext.SectionAlignment - 1) & (~((UINTN) ImageContext.SectionAlignment [all...] |
/vbox/src/VBox/Runtime/include/internal/ |
H A D | ldrPE.h | 340 uint32_t SectionAlignment; /**< 0x20 */ member in struct:_IMAGE_OPTIONAL_HEADER32 377 uint32_t SectionAlignment; /**< 0x20 */ member in struct:_IMAGE_OPTIONAL_HEADER64 832 uint32_t SectionAlignment; /**< 0x24 */ member in struct:_IMAGE_SEPARATE_DEBUG_HEADER
|
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenFw/ |
H A D | GenFw.c | 565 if (PeHdr->Pe32.OptionalHeader.SectionAlignment != PeHdr->Pe32.OptionalHeader.FileAlignment) { 568 // If SectionAlignment is not equal to FileAlginment then it is not an XIP type image. 974 MemoryImagePointer = (UINT8 *) malloc ((UINTN) ImageContext.ImageSize + ImageContext.SectionAlignment); 979 memset ((VOID *) MemoryImagePointer, 0, (UINTN) ImageContext.ImageSize + ImageContext.SectionAlignment); 980 ImageContext.ImageAddress = ((UINTN) MemoryImagePointer + ImageContext.SectionAlignment - 1) & (~((INT64)ImageContext.SectionAlignment - 1)); 2594 if ((PeHdr->Pe32.OptionalHeader.SectionAlignment != PeHdr->Pe32.OptionalHeader.FileAlignment)) {
|
H A D | Elf64Convert.c | 440 NtHdr->Pe32Plus.OptionalHeader.SectionAlignment = mCoffAlignment;
|
H A D | Elf32Convert.c | 448 NtHdr->Pe32.OptionalHeader.SectionAlignment = mCoffAlignment;
|
/vbox/src/VBox/Runtime/common/dbg/ |
H A D | dbgmodcodeview.cpp | 2224 if (!RT_IS_POWER_OF_TWO(pDbgHdr->SectionAlignment)) 2226 Log(("RTDbgModCv: Bad SectionAlignment: %#x\n", pDbgHdr->SectionAlignment)); 2269 else if (paShs[i].VirtualAddress & (pDbgHdr->SectionAlignment - 1)) 2272 pszFilename, paShs[i].VirtualAddress, pDbgHdr->SectionAlignment, i, sizeof(paShs[i].Name), paShs[i].Name)); 2605 Log2((" SectionAlignment = %#x\n", DbgHdr.SectionAlignment));
|
/vbox/src/VBox/Devices/PC/ipxe/src/util/ |
H A D | elf2efi.c | 90 .SectionAlignment = EFI_FILE_ALIGN,
|
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/Common/ |
H A D | Misc.py | 1491 self.SectionAlignment = 0 1533 self.SectionAlignment = self._ByteListToInt(ByteList[0x20:0x24])
|
/vbox/src/VBox/Runtime/common/ldr/ |
H A D | ldrPE.cpp | 2915 Assert(RT_OFFSETOF(IMAGE_OPTIONAL_HEADER32, SectionAlignment) == RT_OFFSETOF(IMAGE_OPTIONAL_HEADER64, SectionAlignment)); 3271 if (pSH->VirtualAddress & (pOptHdr->SectionAlignment - 1)) //ASSUMES power of 2 alignment. 3274 pszLogName, pSH->VirtualAddress, pOptHdr->SectionAlignment, iSH, sizeof(pSH->Name), pSH->Name));
|