/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/ |
D | MeasureBootPeCoff.c | 112 EFI_IMAGE_SECTION_HEADER *Section; in MeasurePeImageAndExtend() 116 EFI_IMAGE_SECTION_HEADER *SectionHeader; in MeasurePeImageAndExtend() 323 …SectionHeader = (EFI_IMAGE_SECTION_HEADER *) AllocateZeroPool (sizeof (EFI_IMAGE_SECTION_HEADER) *… in MeasurePeImageAndExtend() 335 Section = (EFI_IMAGE_SECTION_HEADER *) ( in MeasurePeImageAndExtend() 345 CopyMem (&SectionHeader[Pos], &SectionHeader[Pos - 1], sizeof(EFI_IMAGE_SECTION_HEADER)); in MeasurePeImageAndExtend() 348 CopyMem (&SectionHeader[Pos], Section, sizeof(EFI_IMAGE_SECTION_HEADER)); in MeasurePeImageAndExtend() 360 Section = (EFI_IMAGE_SECTION_HEADER *) &SectionHeader[Index]; in MeasurePeImageAndExtend()
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEDxe/ |
D | MeasureBootPeCoff.c | 112 EFI_IMAGE_SECTION_HEADER *Section; in MeasurePeImageAndExtend() 116 EFI_IMAGE_SECTION_HEADER *SectionHeader; in MeasurePeImageAndExtend() 323 …SectionHeader = (EFI_IMAGE_SECTION_HEADER *) AllocateZeroPool (sizeof (EFI_IMAGE_SECTION_HEADER) *… in MeasurePeImageAndExtend() 335 Section = (EFI_IMAGE_SECTION_HEADER *) ( in MeasurePeImageAndExtend() 345 CopyMem (&SectionHeader[Pos], &SectionHeader[Pos - 1], sizeof(EFI_IMAGE_SECTION_HEADER)); in MeasurePeImageAndExtend() 348 CopyMem (&SectionHeader[Pos], Section, sizeof(EFI_IMAGE_SECTION_HEADER)); in MeasurePeImageAndExtend() 360 Section = (EFI_IMAGE_SECTION_HEADER *) &SectionHeader[Index]; in MeasurePeImageAndExtend()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/ |
D | ElfConvert.c | 133 EFI_IMAGE_SECTION_HEADER *Hdr; in CreateSectionHeader() 134 Hdr = (EFI_IMAGE_SECTION_HEADER*)(mCoffFile + mTableOffset); in CreateSectionHeader() 147 mTableOffset += sizeof (EFI_IMAGE_SECTION_HEADER); in CreateSectionHeader()
|
D | GenFw.c | 543 EFI_IMAGE_SECTION_HEADER *SectionHeader; in PeCoffConvertImageToXip() 572 …SectionHeader = (EFI_IMAGE_SECTION_HEADER *) ((UINT8 *) &(PeHdr->Pe32.OptionalHeader) + PeHdr->Pe3… in PeCoffConvertImageToXip() 648 …SectionHeader = (EFI_IMAGE_SECTION_HEADER *) ((UINT8 *) &(NewPeHdr->Pe32.OptionalHeader) + NewPeHd… in PeCoffConvertImageToXip() 860 EFI_IMAGE_SECTION_HEADER *SectionHeader; in SetAddressToSectionHeader() 887 SectionHeader = (EFI_IMAGE_SECTION_HEADER *) ( in SetAddressToSectionHeader() 940 EFI_IMAGE_SECTION_HEADER *SectionHeader; in RebaseImage() 993 SectionHeader = (EFI_IMAGE_SECTION_HEADER *) ( in RebaseImage() 1091 EFI_IMAGE_SECTION_HEADER *SectionHeader; in main() 2064 SectionHeader = (EFI_IMAGE_SECTION_HEADER *) (TeHdr + 1); in main() 2103 …SectionHeader = (EFI_IMAGE_SECTION_HEADER *) ((UINT8 *) &(PeHdr->Pe32.OptionalHeader) + PeHdr->Pe3… in main() [all …]
|
D | Elf64Convert.c | 360 mCoffOffset += mCoffNbrSections * sizeof(EFI_IMAGE_SECTION_HEADER); in ScanSections64()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpmMeasureBootLib/ |
D | DxeTpmMeasureBootLib.c | 316 EFI_IMAGE_SECTION_HEADER *Section; in TcgMeasurePeImage() 320 EFI_IMAGE_SECTION_HEADER *SectionHeader; in TcgMeasurePeImage() 560 …SectionHeader = (EFI_IMAGE_SECTION_HEADER *) AllocateZeroPool (sizeof (EFI_IMAGE_SECTION_HEADER) *… in TcgMeasurePeImage() 572 Section = (EFI_IMAGE_SECTION_HEADER *) ( in TcgMeasurePeImage() 582 CopyMem (&SectionHeader[Pos], &SectionHeader[Pos - 1], sizeof(EFI_IMAGE_SECTION_HEADER)); in TcgMeasurePeImage() 585 CopyMem (&SectionHeader[Pos], Section, sizeof(EFI_IMAGE_SECTION_HEADER)); in TcgMeasurePeImage() 597 Section = (EFI_IMAGE_SECTION_HEADER *) &SectionHeader[Index]; in TcgMeasurePeImage()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/FwImage/ |
D | fwimage.c | 122 EFI_IMAGE_SECTION_HEADER *Section; in ZeroExceptionTable() 166 Section = (EFI_IMAGE_SECTION_HEADER *) &FileBuffer[DosHdr->e_lfanew + SectionOffset]; in ZeroExceptionTable() 185 SectionOffset += sizeof(EFI_IMAGE_SECTION_HEADER); in ZeroExceptionTable() 202 EFI_IMAGE_SECTION_HEADER *SectionHeader; in StripZeroPendingReloc() 210 …SectionHeader = (EFI_IMAGE_SECTION_HEADER *)(FileBuffer + DosHdr->e_lfanew + sizeof(UINT32) + size… in StripZeroPendingReloc() 244 …SectionHeader = (EFI_IMAGE_SECTION_HEADER *)(FileBuffer + DosHdr->e_lfanew + sizeof(UINT32) + size… in StripZeroPendingReloc()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
D | BasePeCoff.c | 271 EFI_IMAGE_SECTION_HEADER SectionHeader; in PeCoffLoaderGetImageInfo() 394 Size = sizeof (EFI_IMAGE_SECTION_HEADER); in PeCoffLoaderGetImageInfo() 413 SectionHeaderOffset += sizeof (EFI_IMAGE_SECTION_HEADER); in PeCoffLoaderGetImageInfo() 459 Size = sizeof (EFI_IMAGE_SECTION_HEADER); in PeCoffLoaderGetImageInfo() 484 … SectionHeaderOffset += (TeHdr->NumberOfSections - 1 - Index) * sizeof (EFI_IMAGE_SECTION_HEADER); in PeCoffLoaderGetImageInfo() 505 SectionHeaderOffset += sizeof (EFI_IMAGE_SECTION_HEADER); in PeCoffLoaderGetImageInfo() 877 EFI_IMAGE_SECTION_HEADER *FirstSection; in PeCoffLoaderLoadImage() 878 EFI_IMAGE_SECTION_HEADER *Section; in PeCoffLoaderLoadImage() 965 FirstSection = (EFI_IMAGE_SECTION_HEADER *) ( in PeCoffLoaderLoadImage() 983 FirstSection = (EFI_IMAGE_SECTION_HEADER *) ( in PeCoffLoaderLoadImage() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/BasePeCoffLib/ |
D | BasePeCoff.c | 41 EFI_IMAGE_SECTION_HEADER *SectionHeader, in PeCoffLoaderAdjustOffsetForTeImage() 110 EFI_IMAGE_SECTION_HEADER SectionHeader; in PeCoffLoaderGetPeHeader() 489 Size = sizeof (EFI_IMAGE_SECTION_HEADER); in PeCoffLoaderGetPeHeader() 554 SectionHeaderOffset += sizeof (EFI_IMAGE_SECTION_HEADER); in PeCoffLoaderGetPeHeader() 605 EFI_IMAGE_SECTION_HEADER SectionHeader; in PeCoffLoaderGetImageInfo() 717 Size = sizeof (EFI_IMAGE_SECTION_HEADER); in PeCoffLoaderGetImageInfo() 740 SectionHeaderOffset += sizeof (EFI_IMAGE_SECTION_HEADER); in PeCoffLoaderGetImageInfo() 792 Size = sizeof (EFI_IMAGE_SECTION_HEADER); in PeCoffLoaderGetImageInfo() 820 … SectionHeaderOffset += (Hdr.Te->NumberOfSections - 1 - Index) * sizeof (EFI_IMAGE_SECTION_HEADER); in PeCoffLoaderGetImageInfo() 840 SectionHeaderOffset += sizeof (EFI_IMAGE_SECTION_HEADER); in PeCoffLoaderGetImageInfo() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/ |
D | BasePeCoff.c | 209 EFI_IMAGE_SECTION_HEADER SectionHeader; in GluePeCoffLoaderGetImageInfo() 315 Size = sizeof (EFI_IMAGE_SECTION_HEADER); in GluePeCoffLoaderGetImageInfo() 334 SectionHeaderOffset += sizeof (EFI_IMAGE_SECTION_HEADER); in GluePeCoffLoaderGetImageInfo() 376 Size = sizeof (EFI_IMAGE_SECTION_HEADER); in GluePeCoffLoaderGetImageInfo() 401 … SectionHeaderOffset += (Hdr.Te->NumberOfSections - 1 - Index) * sizeof (EFI_IMAGE_SECTION_HEADER); in GluePeCoffLoaderGetImageInfo() 422 SectionHeaderOffset += sizeof (EFI_IMAGE_SECTION_HEADER); in GluePeCoffLoaderGetImageInfo() 768 EFI_IMAGE_SECTION_HEADER *FirstSection; in GluePeCoffLoaderLoadImage() 769 EFI_IMAGE_SECTION_HEADER *Section; in GluePeCoffLoaderLoadImage() 859 FirstSection = (EFI_IMAGE_SECTION_HEADER *) ( in GluePeCoffLoaderLoadImage() 877 FirstSection = (EFI_IMAGE_SECTION_HEADER *) ( in GluePeCoffLoaderLoadImage()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/ |
D | PeCoffLoader.c | 375 EFI_IMAGE_SECTION_HEADER SectionHeader; in PeCoffLoaderGetImageInfo() 512 Size = sizeof (EFI_IMAGE_SECTION_HEADER); in PeCoffLoaderGetImageInfo() 531 SectionHeaderOffset += sizeof (EFI_IMAGE_SECTION_HEADER); in PeCoffLoaderGetImageInfo() 585 Size = sizeof (EFI_IMAGE_SECTION_HEADER); in PeCoffLoaderGetImageInfo() 607 SectionHeaderOffset += sizeof (EFI_IMAGE_SECTION_HEADER); in PeCoffLoaderGetImageInfo() 1006 EFI_IMAGE_SECTION_HEADER *FirstSection; in PeCoffLoaderLoadImage() 1007 EFI_IMAGE_SECTION_HEADER *Section; in PeCoffLoaderLoadImage() 1105 FirstSection = (EFI_IMAGE_SECTION_HEADER *) ( in PeCoffLoaderLoadImage() 1123 FirstSection = (EFI_IMAGE_SECTION_HEADER *) ( in PeCoffLoaderLoadImage()
|
/device/linaro/bootloader/edk2/DuetPkg/EfiLdr/ |
D | PeLoader.c | 120 EFI_IMAGE_SECTION_HEADER *FirstSection; in EfiLdrPeCoffLoadPeImage() 121 EFI_IMAGE_SECTION_HEADER *Section; in EfiLdrPeCoffLoadPeImage() 305 FirstSection = (EFI_IMAGE_SECTION_HEADER *) ( in EfiLdrPeCoffLoadPeImage()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeImageVerificationLib/ |
D | DxeImageVerificationLib.c | 299 EFI_IMAGE_SECTION_HEADER *Section; in HashPeImage() 305 EFI_IMAGE_SECTION_HEADER *SectionHeader; in HashPeImage() 510 Section = (EFI_IMAGE_SECTION_HEADER *) ( in HashPeImage() 524 …SectionHeader = (EFI_IMAGE_SECTION_HEADER *) AllocateZeroPool (sizeof (EFI_IMAGE_SECTION_HEADER) *… in HashPeImage() 538 CopyMem (&SectionHeader[Pos], &SectionHeader[Pos - 1], sizeof (EFI_IMAGE_SECTION_HEADER)); in HashPeImage() 541 CopyMem (&SectionHeader[Pos], Section, sizeof (EFI_IMAGE_SECTION_HEADER)); in HashPeImage()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Include/ |
D | EfiImage.h | 281 (EFI_IMAGE_SECTION_HEADER *) \ 333 } EFI_IMAGE_SECTION_HEADER; typedef
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/Image/ |
D | Image.c | 229 EFI_IMAGE_SECTION_HEADER SectionHeader; in GetPeCoffImageFixLoadingAssignedAddress() 268 Size = sizeof (EFI_IMAGE_SECTION_HEADER); in GetPeCoffImageFixLoadingAssignedAddress() 322 SectionHeaderOffset += sizeof (EFI_IMAGE_SECTION_HEADER); in GetPeCoffImageFixLoadingAssignedAddress()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Image/ |
D | Image.c | 351 EFI_IMAGE_SECTION_HEADER SectionHeader; in GetPeCoffImageFixLoadingAssignedAddress() 382 Size = sizeof (EFI_IMAGE_SECTION_HEADER); in GetPeCoffImageFixLoadingAssignedAddress() 392 if (Size != sizeof (EFI_IMAGE_SECTION_HEADER)) { in GetPeCoffImageFixLoadingAssignedAddress() 422 SectionHeaderOffset += sizeof (EFI_IMAGE_SECTION_HEADER); in GetPeCoffImageFixLoadingAssignedAddress()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VolInfo/ |
D | VolInfo.c | 1412 EFI_IMAGE_SECTION_HEADER *SectionHeader; in SetAddressToSectionHeader() 1439 SectionHeader = (EFI_IMAGE_SECTION_HEADER *) ( in SetAddressToSectionHeader() 1492 EFI_IMAGE_SECTION_HEADER *SectionHeader; in RebaseImage() 1545 SectionHeader = (EFI_IMAGE_SECTION_HEADER *) ( in RebaseImage()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/ |
D | Dispatcher.c | 222 EFI_IMAGE_SECTION_HEADER SectionHeader; in GetPeCoffImageFixLoadingAssignedAddress() 252 Size = sizeof (EFI_IMAGE_SECTION_HEADER); in GetPeCoffImageFixLoadingAssignedAddress() 292 SectionHeaderOffset += sizeof (EFI_IMAGE_SECTION_HEADER); in GetPeCoffImageFixLoadingAssignedAddress()
|
D | PiSmmIpl.c | 828 EFI_IMAGE_SECTION_HEADER SectionHeader; in GetPeCoffImageFixLoadingAssignedAddress() 864 Size = sizeof (EFI_IMAGE_SECTION_HEADER); in GetPeCoffImageFixLoadingAssignedAddress() 902 SectionHeaderOffset += sizeof (EFI_IMAGE_SECTION_HEADER); in GetPeCoffImageFixLoadingAssignedAddress()
|
D | MemoryAttributesTable.c | 1056 EFI_IMAGE_SECTION_HEADER *Section; in SmmInsertImageRecord() 1138 Section = (EFI_IMAGE_SECTION_HEADER *) ( in SmmInsertImageRecord()
|
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/ |
D | SecureBootConfigImpl.c | 1775 EFI_IMAGE_SECTION_HEADER *Section; in HashPeImage() 1781 EFI_IMAGE_SECTION_HEADER *SectionHeader; in HashPeImage() 1924 …SectionHeader = (EFI_IMAGE_SECTION_HEADER *) AllocateZeroPool (sizeof (EFI_IMAGE_SECTION_HEADER) *… in HashPeImage() 1932 Section = (EFI_IMAGE_SECTION_HEADER *) ( in HashPeImage() 1942 CopyMem (&SectionHeader[Pos], &SectionHeader[Pos - 1], sizeof (EFI_IMAGE_SECTION_HEADER)); in HashPeImage() 1945 CopyMem (&SectionHeader[Pos], Section, sizeof (EFI_IMAGE_SECTION_HEADER)); in HashPeImage()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFv/ |
D | GenFvInternalLib.c | 753 EFI_IMAGE_SECTION_HEADER *SectionHeader; in WriteMapFile() 818 SectionHeader = (EFI_IMAGE_SECTION_HEADER *) ( in WriteMapFile() 829 SectionHeader = (EFI_IMAGE_SECTION_HEADER *) (TEImageHeader + 1); in WriteMapFile() 3345 EFI_IMAGE_SECTION_HEADER *SectionHeader; in FfsRebase() 3599 SectionHeader = (EFI_IMAGE_SECTION_HEADER *) ( in FfsRebase() 3832 SectionHeader = (EFI_IMAGE_SECTION_HEADER *) (TEImageHeader + 1); in FfsRebase()
|
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/ |
D | PeImage.h | 293 } EFI_IMAGE_SECTION_HEADER; typedef
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/IndustryStandard/ |
D | PeImage.h | 326 } EFI_IMAGE_SECTION_HEADER; typedef
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Misc/ |
D | PropertiesTable.c | 1088 EFI_IMAGE_SECTION_HEADER *Section; in InsertImageRecord() 1171 Section = (EFI_IMAGE_SECTION_HEADER *) ( in InsertImageRecord()
|