Home
last modified time | relevance | path

Searched refs:NumberOfRvaAndSizes (Results 1 – 25 of 25) sorted by relevance

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffGetEntryPointLib/
DPeCoffGetEntryPoint.c144 UINT32 NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer() local
151 NumberOfRvaAndSizes = 0; in PeCoffLoaderGetPdbPointer()
179 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer()
186 NumberOfRvaAndSizes = Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer()
191 if (NumberOfRvaAndSizes <= EFI_IMAGE_DIRECTORY_ENTRY_DEBUG) { in PeCoffLoaderGetPdbPointer()
/device/linaro/bootloader/edk2/EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/
DPeiEmuPeCoffGetEntryPointLib.c142 UINT32 NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer() local
150 NumberOfRvaAndSizes = 0; in PeCoffLoaderGetPdbPointer()
204 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer()
211 NumberOfRvaAndSizes = Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer()
216 if (NumberOfRvaAndSizes <= EFI_IMAGE_DIRECTORY_ENTRY_DEBUG) { in PeCoffLoaderGetPdbPointer()
/device/linaro/bootloader/edk2/MdePkg/Library/BasePeCoffGetEntryPointLib/
DPeCoffGetEntryPoint.c161 UINT32 NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer() local
169 NumberOfRvaAndSizes = 0; in PeCoffLoaderGetPdbPointer()
223 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer()
230 NumberOfRvaAndSizes = Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer()
235 if (NumberOfRvaAndSizes <= EFI_IMAGE_DIRECTORY_ENTRY_DEBUG) { in PeCoffLoaderGetPdbPointer()
/device/linaro/bootloader/edk2/Nt32Pkg/Library/Nt32PeiPeCoffGetEntryPointLib/
DPeCoffGetEntryPoint.c169 UINT32 NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer() local
177 NumberOfRvaAndSizes = 0; in PeCoffLoaderGetPdbPointer()
231 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer()
238 NumberOfRvaAndSizes = Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer()
243 if (NumberOfRvaAndSizes <= EFI_IMAGE_DIRECTORY_ENTRY_DEBUG) { in PeCoffLoaderGetPdbPointer()
/device/linaro/bootloader/edk2/MdePkg/Library/BasePeCoffLib/
DBasePeCoff.c231 if (EFI_IMAGE_NUMBER_OF_DIRECTORY_ENTRIES < Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes) { in PeCoffLoaderGetPeHeader()
243 Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes * sizeof (EFI_IMAGE_DATA_DIRECTORY)) { in PeCoffLoaderGetPeHeader()
301 if (EFI_IMAGE_DIRECTORY_ENTRY_SECURITY < Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes) { in PeCoffLoaderGetPeHeader()
346 … if (EFI_IMAGE_NUMBER_OF_DIRECTORY_ENTRIES < Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes) { in PeCoffLoaderGetPeHeader()
357 Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes * sizeof (EFI_IMAGE_DATA_DIRECTORY)) { in PeCoffLoaderGetPeHeader()
415 if (EFI_IMAGE_DIRECTORY_ENTRY_SECURITY < Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes) { in PeCoffLoaderGetPeHeader()
607 UINT32 NumberOfRvaAndSizes; in PeCoffLoaderGetImageInfo() local
685 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetImageInfo()
691 NumberOfRvaAndSizes = Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetImageInfo()
695 if (NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_DEBUG) { in PeCoffLoaderGetImageInfo()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/
DBasePeCoff.c211 UINT32 NumberOfRvaAndSizes; in GluePeCoffLoaderGetImageInfo() local
283 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in GluePeCoffLoaderGetImageInfo()
289 NumberOfRvaAndSizes = Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in GluePeCoffLoaderGetImageInfo()
293 if (NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_DEBUG) { in GluePeCoffLoaderGetImageInfo()
522 UINT32 NumberOfRvaAndSizes; in GluePeCoffLoaderRelocateImage() local
564 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in GluePeCoffLoaderRelocateImage()
573 NumberOfRvaAndSizes = Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in GluePeCoffLoaderRelocateImage()
584 if (NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC && RelocDir->Size > 0) { in GluePeCoffLoaderRelocateImage()
779 UINT32 NumberOfRvaAndSizes; in GluePeCoffLoaderLoadImage() local
1011 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in GluePeCoffLoaderLoadImage()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/SetStamp/
DSetStamp.c276 unsigned long NumberOfRvaAndSizes; in SetStamp() local
353 if (ReadFromFile (fp, offset, &NumberOfRvaAndSizes, 4) != 0) { in SetStamp()
366 if (NumberOfRvaAndSizes >= 1) { in SetStamp()
381 if (NumberOfRvaAndSizes >= 3) { in SetStamp()
396 if (NumberOfRvaAndSizes >= 7) { in SetStamp()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/
DMeasureBootPeCoff.c121 UINT32 NumberOfRvaAndSizes; in MeasurePeImageAndExtend() local
208 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in MeasurePeImageAndExtend()
214 NumberOfRvaAndSizes = Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in MeasurePeImageAndExtend()
226 if (NumberOfRvaAndSizes <= EFI_IMAGE_DIRECTORY_ENTRY_SECURITY) { in MeasurePeImageAndExtend()
384 if (NumberOfRvaAndSizes <= EFI_IMAGE_DIRECTORY_ENTRY_SECURITY) { in MeasurePeImageAndExtend()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEDxe/
DMeasureBootPeCoff.c121 UINT32 NumberOfRvaAndSizes; in MeasurePeImageAndExtend() local
208 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in MeasurePeImageAndExtend()
214 NumberOfRvaAndSizes = Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in MeasurePeImageAndExtend()
226 if (NumberOfRvaAndSizes <= EFI_IMAGE_DIRECTORY_ENTRY_SECURITY) { in MeasurePeImageAndExtend()
384 if (NumberOfRvaAndSizes <= EFI_IMAGE_DIRECTORY_ENTRY_SECURITY) { in MeasurePeImageAndExtend()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/
DPeCoffLoader.c377 UINT32 NumberOfRvaAndSizes; in PeCoffLoaderGetImageInfo() local
480 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetImageInfo()
486 NumberOfRvaAndSizes = Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetImageInfo()
490 if (NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_DEBUG) { in PeCoffLoaderGetImageInfo()
711 UINT32 NumberOfRvaAndSizes; in PeCoffLoaderRelocateImage() local
771 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderRelocateImage()
780 NumberOfRvaAndSizes = Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderRelocateImage()
791 if (NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC && RelocDir->Size > 0) { in PeCoffLoaderRelocateImage()
1017 UINT32 NumberOfRvaAndSizes; in PeCoffLoaderLoadImage() local
1262 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderLoadImage()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DBasePeCoff.c356 if (OptionHeader.Optional32->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_DEBUG) { in PeCoffLoaderGetImageInfo()
369 if (OptionHeader.Optional64->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_DEBUG) { in PeCoffLoaderGetImageInfo()
646 if (OptionHeader.Optional32->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC) { in PeCoffLoaderRelocateImage()
681 if (OptionHeader.Optional64->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC) { in PeCoffLoaderRelocateImage()
1100 if (OptionHeader.Optional32->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC) { in PeCoffLoaderLoadImage()
1108 if (OptionHeader.Optional64->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC) { in PeCoffLoaderLoadImage()
1257 UINT32 NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer() local
1269 NumberOfRvaAndSizes = 0; in PeCoffLoaderGetPdbPointer()
1349 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer()
1355 NumberOfRvaAndSizes = Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer()
[all …]
/device/linaro/bootloader/edk2/DuetPkg/EfiLdr/
DPeLoader.c135 UINT32 NumberOfRvaAndSizes; in EfiLdrPeCoffLoadPeImage() local
269 NumberOfRvaAndSizes = PeHdr.Pe32.OptionalHeader.NumberOfRvaAndSizes; in EfiLdrPeCoffLoadPeImage()
272 NumberOfRvaAndSizes = PeHdr.Pe32Plus.OptionalHeader.NumberOfRvaAndSizes; in EfiLdrPeCoffLoadPeImage()
276 for (Index = 0; Index < NumberOfRvaAndSizes; Index++) { in EfiLdrPeCoffLoadPeImage()
/device/linaro/bootloader/edk2/EmbeddedPkg/GdbStub/
DGdbStub.c864 UINT32 NumberOfRvaAndSizes; in PeCoffLoaderGetDebuggerInfo() local
873 NumberOfRvaAndSizes = 0; in PeCoffLoaderGetDebuggerInfo()
937 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetDebuggerInfo()
945 NumberOfRvaAndSizes = Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetDebuggerInfo()
950 if (NumberOfRvaAndSizes <= EFI_IMAGE_DIRECTORY_ENTRY_DEBUG) { in PeCoffLoaderGetDebuggerInfo()
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpmMeasureBootLib/
DDxeTpmMeasureBootLib.c328 UINT32 NumberOfRvaAndSizes; in TcgMeasurePeImage() local
445 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in TcgMeasurePeImage()
451 NumberOfRvaAndSizes = Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in TcgMeasurePeImage()
463 if (NumberOfRvaAndSizes <= EFI_IMAGE_DIRECTORY_ENTRY_SECURITY) { in TcgMeasurePeImage()
621 if (NumberOfRvaAndSizes <= EFI_IMAGE_DIRECTORY_ENTRY_SECURITY) { in TcgMeasurePeImage()
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeImageVerificationLib/
DDxeImageVerificationLib.c309 UINT32 NumberOfRvaAndSizes; in HashPeImage() local
395 NumberOfRvaAndSizes = mNtHeader.Pe32->OptionalHeader.NumberOfRvaAndSizes; in HashPeImage()
401 NumberOfRvaAndSizes = mNtHeader.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in HashPeImage()
418 if (NumberOfRvaAndSizes <= EFI_IMAGE_DIRECTORY_ENTRY_SECURITY) { in HashPeImage()
577 if (NumberOfRvaAndSizes <= EFI_IMAGE_DIRECTORY_ENTRY_SECURITY) { in HashPeImage()
1593 UINT32 NumberOfRvaAndSizes; in DxeImageVerificationHandler() local
1741 NumberOfRvaAndSizes = mNtHeader.Pe32->OptionalHeader.NumberOfRvaAndSizes; in DxeImageVerificationHandler()
1742 if (NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_SECURITY) { in DxeImageVerificationHandler()
1749 NumberOfRvaAndSizes = mNtHeader.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in DxeImageVerificationHandler()
1750 if (NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_SECURITY) { in DxeImageVerificationHandler()
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/
DGenFw.c2120 if (Optional32->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC) { in main()
2129 if (Optional64->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC) { in main()
2341 if (Optional32->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC) { in main()
2346 if (Optional32->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_DEBUG) { in main()
2354 …if (!KeepExceptionTableFlag && Optional32->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_EXCEPTI… in main()
2382 …if (!KeepZeroPendingFlag && Optional32->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC)… in main()
2434 if (Optional64->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC) { in main()
2439 if (Optional64->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_DEBUG) { in main()
2449 if (Optional64->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_EXCEPTION && in main()
2490 if (!KeepZeroPendingFlag && Optional64->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_DEBUG) { in main()
[all …]
DElf64Convert.c585 NtHdr->Pe32Plus.OptionalHeader.NumberOfRvaAndSizes = EFI_IMAGE_NUMBER_OF_DIRECTORY_ENTRIES; in ScanSections64()
DElf32Convert.c590 NtHdr->Pe32.OptionalHeader.NumberOfRvaAndSizes = EFI_IMAGE_NUMBER_OF_DIRECTORY_ENTRIES; in ScanSections32()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/FwImage/
Dfwimage.c134 if ((PeHdr->PeHeader32.OptionalHeader.NumberOfRvaAndSizes > IMAGE_DIRECTORY_ENTRY_EXCEPTION) && in ZeroExceptionTable()
147 if ((PeHdr->PeHeader64.OptionalHeader.NumberOfRvaAndSizes > IMAGE_DIRECTORY_ENTRY_EXCEPTION) && in ZeroExceptionTable()
208 if ((Optional32->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC) && in StripZeroPendingReloc()
242 if ((Optional64->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC) && in StripZeroPendingReloc()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenTEImage/
DGenTEImage.c378 if (OptionalHeader32.NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC) { in ProcessFile()
383 if (OptionalHeader32.NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_DEBUG) { in ProcessFile()
419 if (OptionalHeader64.NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC) { in ProcessFile()
424 if (OptionalHeader64.NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_DEBUG) { in ProcessFile()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Include/
DEfiImage.h202 UINT32 NumberOfRvaAndSizes; member
248 UINT32 NumberOfRvaAndSizes; member
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
DPeImage.h182 UINT32 NumberOfRvaAndSizes; member
232 UINT32 NumberOfRvaAndSizes; member
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/IndustryStandard/
DPeImage.h210 UINT32 NumberOfRvaAndSizes; member
257 UINT32 NumberOfRvaAndSizes; member
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
DFvImage.py1194 Magic, self.SizeOfImage, SizeOfHeaders, self.Checksum, NumberOfRvaAndSizes = \
1196 …berOfRvaAndSizes=%x" % (Magic, self.SizeOfImage, SizeOfHeaders, self.Checksum, NumberOfRvaAndSizes)
/device/linaro/bootloader/edk2/IntelFsp2Pkg/Tools/
DSplitFspBin.py538 if self.PeHdr.OptionalHeader.NumberOfRvaAndSizes <= EFI_IMAGE_DIRECTORY_ENTRY.BASERELOC: