/device/linaro/bootloader/edk2/IntelFspWrapperPkg/FspWrapperSecCore/ |
D | FindPeiCore.c | 42 EFI_COMMON_SECTION_HEADER *Section; in FindImageBase() local 97 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase() 99 if (IS_SECTION2 (Section)) { in FindImageBase() 100 Size = SECTION2_SIZE (Section); in FindImageBase() 105 Size = SECTION_SIZE (Section); in FindImageBase() 119 if (Section->Type == EFI_SECTION_PE32 || Section->Type == EFI_SECTION_TE) { in FindImageBase() 121 if (IS_SECTION2 (Section)) { in FindImageBase() 122 …*SecCoreImageBase = (PHYSICAL_ADDRESS) (UINTN) ((UINT8 *) Section + sizeof (EFI_COMMON_SECTION_HEA… in FindImageBase() 124 …*SecCoreImageBase = (PHYSICAL_ADDRESS) (UINTN) ((UINT8 *) Section + sizeof (EFI_COMMON_SECTION_HEA… in FindImageBase() 127 if (IS_SECTION2 (Section)) { in FindImageBase() [all …]
|
/device/linaro/bootloader/edk2/IntelFspWrapperPkg/FspInitPei/ |
D | FindPeiCore.c | 42 EFI_COMMON_SECTION_HEADER *Section; in FindImageBase() local 97 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase() 99 if (IS_SECTION2 (Section)) { in FindImageBase() 100 Size = SECTION2_SIZE (Section); in FindImageBase() 105 Size = SECTION_SIZE (Section); in FindImageBase() 119 if (Section->Type == EFI_SECTION_PE32 || Section->Type == EFI_SECTION_TE) { in FindImageBase() 121 if (IS_SECTION2 (Section)) { in FindImageBase() 122 …*SecCoreImageBase = (PHYSICAL_ADDRESS) (UINTN) ((UINT8 *) Section + sizeof (EFI_COMMON_SECTION_HEA… in FindImageBase() 124 …*SecCoreImageBase = (PHYSICAL_ADDRESS) (UINTN) ((UINT8 *) Section + sizeof (EFI_COMMON_SECTION_HEA… in FindImageBase() 127 if (IS_SECTION2 (Section)) { in FindImageBase() [all …]
|
/device/linaro/bootloader/edk2/UefiCpuPkg/SecCore/ |
D | FindPeiCore.c | 42 EFI_COMMON_SECTION_HEADER *Section; in FindImageBase() local 97 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase() 99 if (IS_SECTION2 (Section)) { in FindImageBase() 100 Size = SECTION2_SIZE (Section); in FindImageBase() 105 Size = SECTION_SIZE (Section); in FindImageBase() 119 if (Section->Type == EFI_SECTION_PE32 || Section->Type == EFI_SECTION_TE) { in FindImageBase() 121 if (IS_SECTION2 (Section)) { in FindImageBase() 122 …*SecCoreImageBase = (PHYSICAL_ADDRESS) (UINTN) ((UINT8 *) Section + sizeof (EFI_COMMON_SECTION_HEA… in FindImageBase() 124 …*SecCoreImageBase = (PHYSICAL_ADDRESS) (UINTN) ((UINT8 *) Section + sizeof (EFI_COMMON_SECTION_HEA… in FindImageBase() 127 if (IS_SECTION2 (Section)) { in FindImageBase() [all …]
|
/device/linaro/bootloader/edk2/CorebootModulePkg/SecCore/ |
D | FindPeiCore.c | 42 EFI_COMMON_SECTION_HEADER *Section; in FindImageBase() local 97 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase() 99 if (IS_SECTION2 (Section)) { in FindImageBase() 100 Size = SECTION2_SIZE (Section); in FindImageBase() 105 Size = SECTION_SIZE (Section); in FindImageBase() 119 if (Section->Type == EFI_SECTION_PE32 || Section->Type == EFI_SECTION_TE) { in FindImageBase() 121 if (IS_SECTION2 (Section)) { in FindImageBase() 122 …*SecCoreImageBase = (PHYSICAL_ADDRESS) (UINTN) ((UINT8 *) Section + sizeof (EFI_COMMON_SECTION_HEA… in FindImageBase() 124 …*SecCoreImageBase = (PHYSICAL_ADDRESS) (UINTN) ((UINT8 *) Section + sizeof (EFI_COMMON_SECTION_HEA… in FindImageBase() 127 if (IS_SECTION2 (Section)) { in FindImageBase() [all …]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiLib/ |
D | FwVol.c | 290 IN EFI_COMMON_SECTION_HEADER *Section, in FfsProcessSection() argument 311 if (Section->Type == SectionType) { in FfsProcessSection() 312 *OutputBuffer = (VOID *)(Section + 1); in FfsProcessSection() 315 …} else if ((Section->Type == EFI_SECTION_COMPRESSION) || (Section->Type == EFI_SECTION_GUID_DEFINE… in FfsProcessSection() 317 if (Section->Type == EFI_SECTION_COMPRESSION) { in FfsProcessSection() 318 CompressionSection = (EFI_COMPRESSION_SECTION *) Section; in FfsProcessSection() 319 SectionLength = *(UINT32 *)Section->Size & 0x00FFFFFF; in FfsProcessSection() 326 (UINT8 *) ((EFI_COMPRESSION_SECTION *) Section + 1), in FfsProcessSection() 331 } else if (Section->Type == EFI_SECTION_GUID_DEFINED) { in FfsProcessSection() 333 Section, in FfsProcessSection() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/ |
D | ParseInf.c | 137 IN CHAR8 *Section in FindSection() argument 167 assert (Section); in FindSection() 186 CurrentToken = strstr (InputBuffer, Section); in FindSection() 198 IN CHAR8 *Section, in FindToken() argument 239 Section == NULL || in FindToken() 240 strlen (Section) == 0 || in FindToken() 258 if (FindSection (InputFile, Section)) { in FindToken() 349 IN CHAR8 *Section, in FindTokenInstanceInSection() argument 393 Section == NULL || in FindTokenInstanceInSection() 394 strlen (Section) == 0 || in FindTokenInstanceInSection() [all …]
|
D | ParseInf.h | 74 IN CHAR8 *Section 98 IN CHAR8 *Section, 131 IN CHAR8 *Section, 241 IN CHAR8 *Section
|
/device/linaro/bootloader/edk2/OvmfPkg/Sec/ |
D | SecMain.c | 159 EFI_COMMON_SECTION_HEADER *Section; in FindFfsSectionInstance() local 176 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindFfsSectionInstance() 178 Size = SECTION_SIZE (Section); in FindFfsSectionInstance() 179 if (Size < sizeof (*Section)) { in FindFfsSectionInstance() 191 if (Section->Type == SectionType) { in FindFfsSectionInstance() 193 *FoundSection = Section; in FindFfsSectionInstance() 329 EFI_GUID_DEFINED_SECTION *Section; in DecompressMemFvs() local 348 (EFI_COMMON_SECTION_HEADER**) &Section in DecompressMemFvs() 356 Section, in DecompressMemFvs() 377 Section, in DecompressMemFvs() [all …]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/ |
D | Dir.c | 87 VOID *Section; in EblDirCmd() local 167 Section = NULL; in EblDirCmd() 172 Section, in EblDirCmd() 186 Section = NULL; in EblDirCmd() 192 &Section, in EblDirCmd() 197 if (StrStr (Section, MatchSubString) != NULL) { in EblDirCmd() 198 AsciiPrint ("%,9d %7a %g %s\n", Size, TypeStr, &NameGuid, Section); in EblDirCmd() 203 FreePool (Section); in EblDirCmd()
|
/device/linaro/bootloader/edk2/EmulatorPkg/Library/SecPeiServicesLib/ |
D | FwVol.c | 247 EFI_COMMON_SECTION_HEADER *Section; in SecFfsFindSectionData() local 256 Section = (EFI_COMMON_SECTION_HEADER *) (FfsFileHeader + 1); in SecFfsFindSectionData() 263 if (Section->Type == SectionType) { in SecFfsFindSectionData() 264 *SectionData = (VOID *) (Section + 1); in SecFfsFindSectionData() 272 SectionLength = *(UINT32 *) Section->Size & 0x00FFFFFF; in SecFfsFindSectionData() 276 Section = (EFI_COMMON_SECTION_HEADER *) ((UINT8 *) Section + SectionLength); in SecFfsFindSectionData()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/FwVol/ |
D | FwVol.c | 752 IN EFI_COMMON_SECTION_HEADER *Section, in ProcessSection() argument 784 if (IS_SECTION2 (Section)) { in ProcessSection() 785 ASSERT (SECTION2_SIZE (Section) > 0x00FFFFFF); in ProcessSection() 788 SectionLength = SECTION2_SIZE (Section); in ProcessSection() 796 Section = (EFI_COMMON_SECTION_HEADER *) ((UINT8 *) Section + SectionLength); in ProcessSection() 801 if (Section->Type == SectionType) { in ProcessSection() 810 if (IS_SECTION2 (Section)) { in ProcessSection() 811 *OutputBuffer = (VOID *)((UINT8 *) Section + sizeof (EFI_COMMON_SECTION_HEADER2)); in ProcessSection() 813 *OutputBuffer = (VOID *)((UINT8 *) Section + sizeof (EFI_COMMON_SECTION_HEADER)); in ProcessSection() 817 if (IS_SECTION2 (Section)) { in ProcessSection() [all …]
|
/device/linaro/bootloader/edk2/Nt32Pkg/Sec/ |
D | FwVol.c | 243 EFI_COMMON_SECTION_HEADER *Section; in SecFfsFindSectionData() local 252 Section = (EFI_COMMON_SECTION_HEADER *) (FfsFileHeader + 1); in SecFfsFindSectionData() 259 if (Section->Type == SectionType) { in SecFfsFindSectionData() 260 *SectionData = (VOID *) (Section + 1); in SecFfsFindSectionData() 268 SectionLength = *(UINT32 *) Section->Size & 0x00FFFFFF; in SecFfsFindSectionData() 272 Section = (EFI_COMMON_SECTION_HEADER *) ((UINT8 *) Section + SectionLength); in SecFfsFindSectionData()
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/ |
D | OptRomInfStatement.py | 20 import Section 128 OutputFileList, IsSect = Section.Section.GetFileList(self, '', Rule.FileExtension) 150 FileList, IsSect = Section.Section.GetFileList(self, '', Sect.FileExtension)
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/ModifyInf/ |
D | ModifyInf.c | 134 static char Section[256]; in ApplyPattern() local 160 strncpy (Section, Line, SectionLength); in ApplyPattern() 161 Section[SectionLength] = 0; in ApplyPattern() 186 if (strncmp (Section, Pattern, strlen (Section))) { in ApplyPattern()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SectionExtractionPei/ |
D | SectionExtractionPei.uni | 2 // Section Extraction PEI Module 4 // Produce one or more Section Extraction PPIs. 18 #string STR_MODULE_ABSTRACT #language en-US "Section Extraction PEI Module" 20 #string STR_MODULE_DESCRIPTION #language en-US "Produces the Section Extraction PPI requir…
|
/device/linaro/bootloader/edk2/ArmPkg/Library/DebugAgentSymbolsBaseLib/ |
D | DebugAgentSymbolsBaseLib.c | 184 EFI_COMMON_SECTION_HEADER *Section; in GetImageContext() local 190 Section = (EFI_COMMON_SECTION_HEADER *)(FfsHeader + 1); in GetImageContext() 197 if ((Section->Type == EFI_SECTION_PE32) || (Section->Type == EFI_SECTION_TE)) { in GetImageContext() 198 EfiImage = (EFI_IMAGE_OPTIONAL_HEADER_UNION*)(Section + 1); in GetImageContext() 207 SectionLength = *(UINT32 *)Section->Size & 0x00FFFFFF; in GetImageContext() 211 Section = (EFI_COMMON_SECTION_HEADER *)((UINT8 *)Section + SectionLength); in GetImageContext()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
D | ParseInf.c | 141 IN CHAR8 *Section in FindSection() argument 171 assert (Section); in FindSection() 190 CurrentToken = strstr (InputBuffer, Section); in FindSection() 202 IN CHAR8 *Section, in FindToken() argument 244 Section == NULL || in FindToken() 245 strlen (Section) == 0 || in FindToken() 263 if (FindSection (InputFile, Section)) { in FindToken() 645 IN CHAR8 *Section in FindSectionInStream() argument 674 assert (Section); in FindSectionInStream() 694 CurrentToken = strstr (InputBuffer, Section); in FindSectionInStream()
|
D | ParseInf.h | 63 IN CHAR8 *Section 88 IN CHAR8 *Section, 199 IN CHAR8 *Section
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SectionExtractionDxe/ |
D | SectionExtractionDxe.uni | 2 // Section Extraction DXE Driver 4 // Produces the Section Extraction Protocol required to load modules from firmware volumes that may… 18 #string STR_MODULE_ABSTRACT #language en-US "Section Extraction DXE Module" 20 #string STR_MODULE_DESCRIPTION #language en-US "Produces the Section Extraction Protocol r…
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/ |
D | MigrationUtilities.py | 367 def AddToSection(Section, Arch, Item): argument 368 SectionArch = Section.get(Arch, []) 371 Section[Arch] = SectionArch 401 Section = "" 405 Section += "[%s.%s]\n%s\n" % (SectionName, Arch, SectionArch) 406 Section += "\n" 407 if Section != "": 408 Section += "\n" 409 return Section 443 Section = "[Defines]\n" [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEDxe/ |
D | MeasureBootPeCoff.c | 112 EFI_IMAGE_SECTION_HEADER *Section; in MeasurePeImageAndExtend() local 335 Section = (EFI_IMAGE_SECTION_HEADER *) ( in MeasurePeImageAndExtend() 344 while ((Pos > 0) && (Section->PointerToRawData < SectionHeader[Pos - 1].PointerToRawData)) { in MeasurePeImageAndExtend() 348 CopyMem (&SectionHeader[Pos], Section, sizeof(EFI_IMAGE_SECTION_HEADER)); in MeasurePeImageAndExtend() 349 Section += 1; in MeasurePeImageAndExtend() 360 Section = (EFI_IMAGE_SECTION_HEADER *) &SectionHeader[Index]; in MeasurePeImageAndExtend() 361 if (Section->SizeOfRawData == 0) { in MeasurePeImageAndExtend() 364 HashBase = (UINT8 *) (UINTN) ImageAddress + Section->PointerToRawData; in MeasurePeImageAndExtend() 365 HashSize = (UINTN) Section->SizeOfRawData; in MeasurePeImageAndExtend()
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/ |
D | MeasureBootPeCoff.c | 112 EFI_IMAGE_SECTION_HEADER *Section; in MeasurePeImageAndExtend() local 335 Section = (EFI_IMAGE_SECTION_HEADER *) ( in MeasurePeImageAndExtend() 344 while ((Pos > 0) && (Section->PointerToRawData < SectionHeader[Pos - 1].PointerToRawData)) { in MeasurePeImageAndExtend() 348 CopyMem (&SectionHeader[Pos], Section, sizeof(EFI_IMAGE_SECTION_HEADER)); in MeasurePeImageAndExtend() 349 Section += 1; in MeasurePeImageAndExtend() 360 Section = (EFI_IMAGE_SECTION_HEADER *) &SectionHeader[Index]; in MeasurePeImageAndExtend() 361 if (Section->SizeOfRawData == 0) { in MeasurePeImageAndExtend() 364 HashBase = (UINT8 *) (UINTN) ImageAddress + Section->PointerToRawData; in MeasurePeImageAndExtend() 365 HashSize = (UINTN) Section->SizeOfRawData; in MeasurePeImageAndExtend()
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Spi/ |
D | PchSpiRuntime.inf | 18 # Defines Section - statements that will be processed to create a Makefile. 36 # Sources Section - list of files that are required for the build to succeed. 47 # Package Dependency Section - list of Package files that are required for 57 # Library Class Section - list of Library Classes that are required for 78 # Protocol C Name Section - list of Protocol and Protocol Notify C Names
|
/device/linaro/bootloader/edk2/DuetPkg/EfiLdr/ |
D | PeLoader.c | 121 EFI_IMAGE_SECTION_HEADER *Section; in EfiLdrPeCoffLoadPeImage() local 313 Section = FirstSection; in EfiLdrPeCoffLoadPeImage() 320 Base = EfiLdrPeCoffImageAddress (Image, (UINTN)Section->VirtualAddress); in EfiLdrPeCoffLoadPeImage() 321 …End = EfiLdrPeCoffImageAddress (Image, (UINTN)(Section->VirtualAddress + Section->Misc.VirtualSize… in EfiLdrPeCoffLoadPeImage() 335 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() 358 Section += 1; in EfiLdrPeCoffLoadPeImage()
|
/device/linaro/bootloader/edk2/SignedCapsulePkg/Library/IniParsingLib/ |
D | IniParsingLib.c | 306 SECTION_ITEM *Section; in DumpIniSection() local 313 Section = IniContext->SectionHead; in DumpIniSection() 315 while (Section != NULL) { in DumpIniSection() 316 PtrSection = Section; in DumpIniSection() 317 Section = Section->PtrNext; in DumpIniSection() 788 IN SECTION_ITEM *Section, in FreeAllList() argument 795 while (Section != NULL) { in FreeAllList() 796 PtrSection = Section; in FreeAllList() 797 Section = Section->PtrNext; in FreeAllList() 836 IN SECTION_ITEM *Section, in UpdateGetProfileString() argument [all …]
|