/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/FwImage/ |
D | fwimage.c | 180 PdataSize = Section->SizeOfRawData; in ZeroExceptionTable() 223 if (AllignedRelocSize < SectionHeader->SizeOfRawData) { in StripZeroPendingReloc() 227 … if (SectionHeader->PointerToRawData + SectionHeader->SizeOfRawData == Optional32->SizeOfImage) { in StripZeroPendingReloc() 231 … Optional32->SizeOfImage -= (SectionHeader->SizeOfRawData - AllignedRelocSize); in StripZeroPendingReloc() 232 … Optional32->SizeOfInitializedData -= (SectionHeader->SizeOfRawData - AllignedRelocSize); in StripZeroPendingReloc() 233 SectionHeader->SizeOfRawData = AllignedRelocSize; in StripZeroPendingReloc() 257 if (AllignedRelocSize < SectionHeader->SizeOfRawData) { in StripZeroPendingReloc() 261 … if (SectionHeader->PointerToRawData + SectionHeader->SizeOfRawData == Optional64->SizeOfImage) { in StripZeroPendingReloc() 265 … Optional64->SizeOfImage -= (SectionHeader->SizeOfRawData - AllignedRelocSize); in StripZeroPendingReloc() 266 … Optional64->SizeOfInitializedData -= (SectionHeader->SizeOfRawData - AllignedRelocSize); in StripZeroPendingReloc() [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/ |
D | GenFw.c | 574 SectionSize = MAX (SectionHeader->Misc.VirtualSize, SectionHeader->SizeOfRawData); in PeCoffConvertImageToXip() 583 if (SectionHeader->Misc.VirtualSize > SectionHeader->SizeOfRawData) { in PeCoffConvertImageToXip() 650 if (SectionHeader->SizeOfRawData > 0) { in PeCoffConvertImageToXip() 654 SectionHeader->SizeOfRawData in PeCoffConvertImageToXip() 660 …SectionHeader->SizeOfRawData = (SectionHeader->Misc.VirtualSize + PeHdr->Pe32.OptionalHeader.FileA… in PeCoffConvertImageToXip() 1004 SectionHeader->SizeOfRawData in RebaseImage() 2070 if ((SectionHeader->PointerToRawData + SectionHeader->SizeOfRawData) == in main() 2075 FileLength = FileLength - SectionHeader->SizeOfRawData; in main() 2076 SectionHeader->SizeOfRawData = 0; in main() 2109 if ((SectionHeader->PointerToRawData + SectionHeader->SizeOfRawData) == FileLength) { in main() [all …]
|
D | ElfConvert.c | 139 Hdr->SizeOfRawData = Size; in CreateSectionHeader()
|
/device/linaro/bootloader/edk2/DuetPkg/EfiLdr/ |
D | PeLoader.c | 335 if (Section->SizeOfRawData) { in EfiLdrPeCoffLoadPeImage() 336 … Status = EfiLdrPeCoffImageRead (FHand, Section->PointerToRawData, Section->SizeOfRawData, Base); in EfiLdrPeCoffLoadPeImage() 347 if (Section->SizeOfRawData < Section->Misc.VirtualSize) { in EfiLdrPeCoffLoadPeImage() 349 Base + Section->SizeOfRawData, in EfiLdrPeCoffLoadPeImage() 350 Section->Misc.VirtualSize - Section->SizeOfRawData in EfiLdrPeCoffLoadPeImage()
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/ |
D | MeasureBootPeCoff.c | 361 if (Section->SizeOfRawData == 0) { in MeasurePeImageAndExtend() 365 HashSize = (UINTN) Section->SizeOfRawData; in MeasurePeImageAndExtend()
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEDxe/ |
D | MeasureBootPeCoff.c | 361 if (Section->SizeOfRawData == 0) { in MeasurePeImageAndExtend() 365 HashSize = (UINTN) Section->SizeOfRawData; in MeasurePeImageAndExtend()
|
/device/linaro/bootloader/edk2/MdePkg/Library/BasePeCoffLib/ |
D | BasePeCoff.c | 512 if (SectionHeader.SizeOfRawData > 0) { in PeCoffLoaderGetPeHeader() 525 if ((UINT32) (~0) - SectionHeader.PointerToRawData < SectionHeader.SizeOfRawData) { in PeCoffLoaderGetPeHeader() 538 SectionHeader.PointerToRawData + SectionHeader.SizeOfRawData - 1, in PeCoffLoaderGetPeHeader() 1361 if ((Size == 0) || (Size > Section->SizeOfRawData)) { in PeCoffLoaderLoadImage() 1362 Size = (UINTN) Section->SizeOfRawData; in PeCoffLoaderLoadImage() 1379 if (Section->SizeOfRawData > 0) { in PeCoffLoaderLoadImage() 1498 if ((UINTN)Section->SizeOfRawData < Section->Misc.VirtualSize) { in PeCoffLoaderLoadImage() 1501 TempDebugEntryRva = Section->VirtualAddress + Section->SizeOfRawData; in PeCoffLoaderLoadImage()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/ |
D | BasePeCoff.c | 924 if ((Size == 0) || (Size > Section->SizeOfRawData)) { in GluePeCoffLoaderLoadImage() 925 Size = (UINTN) Section->SizeOfRawData; in GluePeCoffLoaderLoadImage() 928 if (Section->SizeOfRawData) { in GluePeCoffLoaderLoadImage() 1058 if ((UINTN)Section->SizeOfRawData < Section->Misc.VirtualSize) { in GluePeCoffLoaderLoadImage() 1061 TempDebugEntryRva = Section->VirtualAddress + Section->SizeOfRawData; in GluePeCoffLoaderLoadImage()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/ |
D | PeCoffLoader.c | 1170 if ((Size == 0) || (Size > Section->SizeOfRawData)) { in PeCoffLoaderLoadImage() 1171 Size = (UINTN) Section->SizeOfRawData; in PeCoffLoaderLoadImage() 1174 if (Section->SizeOfRawData) { in PeCoffLoaderLoadImage() 1309 if ((UINTN)Section->SizeOfRawData < Section->Misc.VirtualSize) { in PeCoffLoaderLoadImage() 1312 TempDebugEntryRva = Section->VirtualAddress + Section->SizeOfRawData; in PeCoffLoaderLoadImage()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
D | BasePeCoff.c | 1033 if ((Size == 0) || (Size > Section->SizeOfRawData)) { in PeCoffLoaderLoadImage() 1034 Size = (UINTN) Section->SizeOfRawData; in PeCoffLoaderLoadImage() 1037 if (Section->SizeOfRawData) { in PeCoffLoaderLoadImage() 1148 if ((UINTN) Section->SizeOfRawData < Section->Misc.VirtualSize) { in PeCoffLoaderLoadImage() 1151 TempDebugEntryRva = Section->VirtualAddress + Section->SizeOfRawData; in PeCoffLoaderLoadImage()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpmMeasureBootLib/ |
D | DxeTpmMeasureBootLib.c | 598 if (Section->SizeOfRawData == 0) { in TcgMeasurePeImage() 602 HashSize = (UINTN) Section->SizeOfRawData; in TcgMeasurePeImage()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Include/ |
D | EfiImage.h | 326 UINT32 SizeOfRawData; member
|
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/ |
D | PeImage.h | 286 UINT32 SizeOfRawData; member
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/IndustryStandard/ |
D | PeImage.h | 319 UINT32 SizeOfRawData; member
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/ |
D | FvImage.py | 1237 self.VirtualAddressStart, self.SizeOfRawData, self.PointerToRawData = \ 1239 self.VirtualAddressEnd = self.VirtualAddressStart + self.SizeOfRawData - 1 1242 …eOfRawData=%x, PointerToRawData=%x" % (self.VirtualAddressStart, self.SizeOfRawData, self.PointerT…
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Misc/ |
D | PropertiesTable.c | 1198 DEBUG ((EFI_D_VERBOSE, " SizeOfRawData - 0x%08x\n", Section[Index].SizeOfRawData)); in InsertImageRecord() 1216 ImageRecordCodeSection->CodeSegmentSize = Section[Index].SizeOfRawData; in InsertImageRecord()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/ |
D | MemoryAttributesTable.c | 1165 … DEBUG ((DEBUG_VERBOSE, "SMM SizeOfRawData - 0x%08x\n", Section[Index].SizeOfRawData)); in SmmInsertImageRecord() 1183 ImageRecordCodeSection->CodeSegmentSize = Section[Index].SizeOfRawData; in SmmInsertImageRecord()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeImageVerificationLib/ |
D | DxeImageVerificationLib.c | 554 if (Section->SizeOfRawData == 0) { in HashPeImage() 558 HashSize = (UINTN) Section->SizeOfRawData; in HashPeImage()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFv/ |
D | GenFvInternalLib.c | 3610 SectionHeader->SizeOfRawData in FfsRebase() 3838 SectionHeader->SizeOfRawData in FfsRebase() 3844 SectionHeader->SizeOfRawData in FfsRebase()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VolInfo/ |
D | VolInfo.c | 1556 SectionHeader->SizeOfRawData in RebaseImage()
|
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/ |
D | SecureBootConfigImpl.c | 1958 if (Section->SizeOfRawData == 0) { in HashPeImage() 1962 HashSize = (UINTN) Section->SizeOfRawData; in HashPeImage()
|