Home
last modified time | relevance | path

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

12

/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/
DMeasureBootPeCoff.c112 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/
DMeasureBootPeCoff.c112 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/
DElfConvert.c133 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()
DGenFw.c543 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 …]
DElf64Convert.c360 mCoffOffset += mCoffNbrSections * sizeof(EFI_IMAGE_SECTION_HEADER); in ScanSections64()
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpmMeasureBootLib/
DDxeTpmMeasureBootLib.c316 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/
Dfwimage.c122 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/
DBasePeCoff.c271 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/
DBasePeCoff.c41 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/
DBasePeCoff.c209 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/
DPeCoffLoader.c375 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/
DPeLoader.c120 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/
DDxeImageVerificationLib.c299 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/
DEfiImage.h281 (EFI_IMAGE_SECTION_HEADER *) \
333 } EFI_IMAGE_SECTION_HEADER; typedef
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/Image/
DImage.c229 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/
DImage.c351 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/
DVolInfo.c1412 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/
DDispatcher.c222 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()
DPiSmmIpl.c828 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()
DMemoryAttributesTable.c1056 EFI_IMAGE_SECTION_HEADER *Section; in SmmInsertImageRecord()
1138 Section = (EFI_IMAGE_SECTION_HEADER *) ( in SmmInsertImageRecord()
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/
DSecureBootConfigImpl.c1775 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/
DGenFvInternalLib.c753 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/
DPeImage.h293 } EFI_IMAGE_SECTION_HEADER; typedef
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/IndustryStandard/
DPeImage.h326 } EFI_IMAGE_SECTION_HEADER; typedef
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Misc/
DPropertiesTable.c1088 EFI_IMAGE_SECTION_HEADER *Section; in InsertImageRecord()
1171 Section = (EFI_IMAGE_SECTION_HEADER *) ( in InsertImageRecord()

12