Home
last modified time | relevance | path

Searched refs:SizeOfRawData (Results 1 – 21 of 21) sorted by relevance

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/FwImage/
Dfwimage.c180 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/
DGenFw.c574 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 …]
DElfConvert.c139 Hdr->SizeOfRawData = Size; in CreateSectionHeader()
/device/linaro/bootloader/edk2/DuetPkg/EfiLdr/
DPeLoader.c335 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/
DMeasureBootPeCoff.c361 if (Section->SizeOfRawData == 0) { in MeasurePeImageAndExtend()
365 HashSize = (UINTN) Section->SizeOfRawData; in MeasurePeImageAndExtend()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEDxe/
DMeasureBootPeCoff.c361 if (Section->SizeOfRawData == 0) { in MeasurePeImageAndExtend()
365 HashSize = (UINTN) Section->SizeOfRawData; in MeasurePeImageAndExtend()
/device/linaro/bootloader/edk2/MdePkg/Library/BasePeCoffLib/
DBasePeCoff.c512 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/
DBasePeCoff.c924 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/
DPeCoffLoader.c1170 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/
DBasePeCoff.c1033 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/
DDxeTpmMeasureBootLib.c598 if (Section->SizeOfRawData == 0) { in TcgMeasurePeImage()
602 HashSize = (UINTN) Section->SizeOfRawData; in TcgMeasurePeImage()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Include/
DEfiImage.h326 UINT32 SizeOfRawData; member
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
DPeImage.h286 UINT32 SizeOfRawData; member
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/IndustryStandard/
DPeImage.h319 UINT32 SizeOfRawData; member
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
DFvImage.py1237 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/
DPropertiesTable.c1198 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/
DMemoryAttributesTable.c1165 … 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/
DDxeImageVerificationLib.c554 if (Section->SizeOfRawData == 0) { in HashPeImage()
558 HashSize = (UINTN) Section->SizeOfRawData; in HashPeImage()
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFv/
DGenFvInternalLib.c3610 SectionHeader->SizeOfRawData in FfsRebase()
3838 SectionHeader->SizeOfRawData in FfsRebase()
3844 SectionHeader->SizeOfRawData in FfsRebase()
/device/linaro/bootloader/edk2/BaseTools/Source/C/VolInfo/
DVolInfo.c1556 SectionHeader->SizeOfRawData in RebaseImage()
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/
DSecureBootConfigImpl.c1958 if (Section->SizeOfRawData == 0) { in HashPeImage()
1962 HashSize = (UINTN) Section->SizeOfRawData; in HashPeImage()