Home
last modified time | relevance | path

Searched refs:VirtualSize (Results 1 – 13 of 13) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DBasePeCoff.c407 … DebugDirectoryEntryRva < SectionHeader.VirtualAddress + SectionHeader.Misc.VirtualSize) { in PeCoffLoaderGetImageInfo()
472 DebugDirectoryEntryRva < SectionHeader.VirtualAddress + SectionHeader.Misc.VirtualSize) { in PeCoffLoaderGetImageInfo()
501 ImageContext->ImageSize = (SectionHeader.VirtualAddress + SectionHeader.Misc.VirtualSize + in PeCoffLoaderGetImageInfo()
1008 Section->VirtualAddress + Section->Misc.VirtualSize - 1 in PeCoffLoaderLoadImage()
1032 Size = (UINTN) Section->Misc.VirtualSize; in PeCoffLoaderLoadImage()
1064 if (Size < Section->Misc.VirtualSize) { in PeCoffLoaderLoadImage()
1065 ZeroMem (Base + Size, Section->Misc.VirtualSize - Size); in PeCoffLoaderLoadImage()
1148 if ((UINTN) Section->SizeOfRawData < Section->Misc.VirtualSize) { in PeCoffLoaderLoadImage()
1149 TempDebugEntryRva = Section->VirtualAddress + Section->Misc.VirtualSize; in PeCoffLoaderLoadImage()
1299 …irtualAddress < (SectionHeader[Index1].VirtualAddress + SectionHeader[Index1].Misc.VirtualSize))) { in PeCoffLoaderGetPdbPointer()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/
DBasePeCoff.c328 … DebugDirectoryEntryRva < SectionHeader.VirtualAddress + SectionHeader.Misc.VirtualSize) { in GluePeCoffLoaderGetImageInfo()
389 DebugDirectoryEntryRva < SectionHeader.VirtualAddress + SectionHeader.Misc.VirtualSize) { in GluePeCoffLoaderGetImageInfo()
418 ImageContext->ImageSize = (SectionHeader.VirtualAddress + SectionHeader.Misc.VirtualSize + in GluePeCoffLoaderGetImageInfo()
902 Section->VirtualAddress + Section->Misc.VirtualSize - 1 in GluePeCoffLoaderLoadImage()
923 Size = (UINTN) Section->Misc.VirtualSize; in GluePeCoffLoaderLoadImage()
955 if (Size < Section->Misc.VirtualSize) { in GluePeCoffLoaderLoadImage()
956 ZeroMem (Base + Size, Section->Misc.VirtualSize - Size); in GluePeCoffLoaderLoadImage()
1058 if ((UINTN)Section->SizeOfRawData < Section->Misc.VirtualSize) { in GluePeCoffLoaderLoadImage()
1059 TempDebugEntryRva = Section->VirtualAddress + Section->Misc.VirtualSize; in GluePeCoffLoaderLoadImage()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/
DPeCoffLoader.c525 … DebugDirectoryEntryRva < SectionHeader.VirtualAddress + SectionHeader.Misc.VirtualSize) { in PeCoffLoaderGetImageInfo()
598 DebugDirectoryEntryRva < SectionHeader.VirtualAddress + SectionHeader.Misc.VirtualSize) { in PeCoffLoaderGetImageInfo()
1148 Section->VirtualAddress + Section->Misc.VirtualSize - 1 in PeCoffLoaderLoadImage()
1169 Size = (UINTN) Section->Misc.VirtualSize; in PeCoffLoaderLoadImage()
1201 if (Size < Section->Misc.VirtualSize) { in PeCoffLoaderLoadImage()
1202 ZeroMem (Base + Size, Section->Misc.VirtualSize - Size); in PeCoffLoaderLoadImage()
1309 if ((UINTN)Section->SizeOfRawData < Section->Misc.VirtualSize) { in PeCoffLoaderLoadImage()
1310 TempDebugEntryRva = Section->VirtualAddress + Section->Misc.VirtualSize; in PeCoffLoaderLoadImage()
/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()
660 …SectionHeader->SizeOfRawData = (SectionHeader->Misc.VirtualSize + PeHdr->Pe32.OptionalHeader.FileA… in PeCoffConvertImageToXip()
2077 SectionHeader->Misc.VirtualSize = 0; in main()
2134 SectionHeader->Misc.VirtualSize = 0; in main()
2270 if (SectionHeader->Misc.VirtualSize < SectionHeader->SizeOfRawData) { in main()
2271 FileLength = SectionHeader->Misc.VirtualSize; in main()
2390 …SectionHeader->Misc.VirtualSize = Optional32->DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC].S… in main()
2498 …SectionHeader->Misc.VirtualSize = Optional64->DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC].S… in main()
2561 …32->DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_RESOURCE].Size = SectionHeader[Index].Misc.VirtualSize; in main()
[all …]
DElfConvert.c137 Hdr->Misc.VirtualSize = Size; in CreateSectionHeader()
/device/linaro/bootloader/edk2/MdePkg/Library/BasePeCoffLib/
DBasePeCoff.c734 … DebugDirectoryEntryRva < SectionHeader.VirtualAddress + SectionHeader.Misc.VirtualSize) { in PeCoffLoaderGetImageInfo()
809 DebugDirectoryEntryRva < SectionHeader.VirtualAddress + SectionHeader.Misc.VirtualSize) { in PeCoffLoaderGetImageInfo()
837 …ImageContext->ImageSize = (SectionHeader.VirtualAddress + SectionHeader.Misc.VirtualSize) - TeStri… in PeCoffLoaderGetImageInfo()
1360 Size = (UINTN) Section->Misc.VirtualSize; in PeCoffLoaderLoadImage()
1369 …derImageAddress (ImageContext, Section->VirtualAddress + Section->Misc.VirtualSize - 1, TeStripped… in PeCoffLoaderLoadImage()
1396 if (Size < Section->Misc.VirtualSize) { in PeCoffLoaderLoadImage()
1397 ZeroMem (Base + Size, Section->Misc.VirtualSize - Size); in PeCoffLoaderLoadImage()
1498 if ((UINTN)Section->SizeOfRawData < Section->Misc.VirtualSize) { in PeCoffLoaderLoadImage()
1499 TempDebugEntryRva = Section->VirtualAddress + Section->Misc.VirtualSize; in PeCoffLoaderLoadImage()
/device/linaro/bootloader/edk2/DuetPkg/EfiLdr/
DPeLoader.c321 …d = EfiLdrPeCoffImageAddress (Image, (UINTN)(Section->VirtualAddress + Section->Misc.VirtualSize)); in EfiLdrPeCoffLoadPeImage()
347 if (Section->SizeOfRawData < Section->Misc.VirtualSize) { in EfiLdrPeCoffLoadPeImage()
350 Section->Misc.VirtualSize - Section->SizeOfRawData in EfiLdrPeCoffLoadPeImage()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/FwImage/
Dfwimage.c216 …SectionHeader->Misc.VirtualSize = Optional32->DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC].S… in StripZeroPendingReloc()
250 …SectionHeader->Misc.VirtualSize = Optional64->DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC].S… in StripZeroPendingReloc()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Include/
DEfiImage.h323 UINT32 VirtualSize; member
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
DPeImage.h283 UINT32 VirtualSize; member
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/IndustryStandard/
DPeImage.h316 UINT32 VirtualSize; member
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Misc/
DPropertiesTable.c1196 DEBUG ((EFI_D_VERBOSE, " VirtualSize - 0x%08x\n", Section[Index].Misc.VirtualSize)); in InsertImageRecord()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/
DMemoryAttributesTable.c1163 … DEBUG ((DEBUG_VERBOSE, "SMM VirtualSize - 0x%08x\n", Section[Index].Misc.VirtualSize)); in SmmInsertImageRecord()