Searched refs:SectionType (Results 1 - 25 of 83) sorted by relevance

1234

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/
H A DGetImage.h29 IN EFI_SECTION_TYPE SectionType,
36 Enumerate all the FVs, and fill Buffer with the SectionType section content in NameGuid file.
39 1. when SectionType is EFI_SECTION_PE32, it tries to read NameGuid file after failure on
41 2. when SectionType is EFI_SECTION_TE, it tries to get EFI_SECTION_PE32 section after failure on
48 SectionType - Required section type.
64 IN EFI_SECTION_TYPE SectionType,
72 Search FVs, and fill Buffer with the SectionType section content in NameGuid file.
79 1. when SectionType is EFI_SECTION_PE32, it tries to read NameGuid file after failure on
81 2. when SectionType is EFI_SECTION_TE, it tries to get EFI_SECTION_PE32 section after failure on
89 SectionType
[all...]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Workspace/
H A DMetaFileCommentParser.py35 def CheckInfComment(SectionType, Comments, InfFile, LineNo, ValueList):
36 if SectionType in [MODEL_PCD_PATCHABLE_IN_MODULE, MODEL_PCD_DYNAMIC_EX, MODEL_PCD_DYNAMIC]:
38 elif SectionType in [MODEL_EFI_GUID, MODEL_EFI_PPI]:
39 CheckUsage(Comments, UsageList, InfFile, LineNo, ValueList[0], ErrorMsgMap[SectionType])
40 elif SectionType == MODEL_EFI_PROTOCOL:
41 CheckUsage(Comments, UsageList + ("TO_START", "BY_START"), InfFile, LineNo, ValueList[0], ErrorMsgMap[SectionType])
/device/linaro/bootloader/edk2/MdePkg/Include/Library/
H A DDxeServicesLib.h27 is made for FFS sections of type SectionType. If the FFS file contains at least SectionInstance instances
28 of the FFS section specified by SectionType, then the SectionInstance instance is returned in Buffer.
32 are retrieved from an FFS file based on SectionType and SectionInstance.
34 If SectionType is EFI_SECTION_TE, and the search with an FFS file fails,
44 @param SectionType Indicates the FFS section type to search for within the FFS file
64 IN EFI_SECTION_TYPE SectionType,
75 is made for FFS sections of type SectionType. If the FFS file contains at least SectionInstance instances
76 of the FFS section specified by SectionType, then the SectionInstance instance is returned in Buffer.
80 are retrieved from an FFS file based on SectionType and SectionInstance.
82 If SectionType i
[all...]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/
H A DGetImage.c36 IN EFI_SECTION_TYPE SectionType,
54 SectionType,
61 if (EFI_ERROR (Status) && (SectionType == EFI_SECTION_TE)) {
79 ((SectionType == EFI_SECTION_TE) || (SectionType == EFI_SECTION_PE32))) {
102 IN EFI_SECTION_TYPE SectionType,
107 return GetImageEx (NULL, NameGuid, SectionType, Buffer, Size, FALSE);
114 IN EFI_SECTION_TYPE SectionType,
158 Status = GetImageFromFv (ImageFv, NameGuid, SectionType, Buffer, Size);
204 Status = GetImageFromFv (Fv, NameGuid, SectionType, Buffe
29 GetImageFromFv( IN EFI_FIRMWARE_VOLUME_PROTOCOL *Fv, IN EFI_GUID *NameGuid, IN EFI_SECTION_TYPE SectionType, OUT VOID **Buffer, OUT UINTN *Size ) argument
100 GetImage( IN EFI_GUID *NameGuid, IN EFI_SECTION_TYPE SectionType, OUT VOID **Buffer, OUT UINTN *Size ) argument
111 GetImageEx( IN EFI_HANDLE ImageHandle, IN EFI_GUID *NameGuid, IN EFI_SECTION_TYPE SectionType, OUT VOID **Buffer, OUT UINTN *Size, BOOLEAN WithinImageFv ) argument
[all...]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/
H A DGetImage.c36 IN EFI_SECTION_TYPE SectionType,
54 SectionType,
61 if (EFI_ERROR (Status) && (SectionType == EFI_SECTION_TE)) {
79 ((SectionType == EFI_SECTION_TE) || (SectionType == EFI_SECTION_PE32))) {
102 IN EFI_SECTION_TYPE SectionType,
107 return GetImageEx (NULL, NameGuid, SectionType, Buffer, Size, FALSE);
114 IN EFI_SECTION_TYPE SectionType,
158 Status = GetImageFromFv (ImageFv, NameGuid, SectionType, Buffer, Size);
204 Status = GetImageFromFv (Fv, NameGuid, SectionType, Buffe
29 GetImageFromFv( IN EFI_FIRMWARE_VOLUME_PROTOCOL *Fv, IN EFI_GUID *NameGuid, IN EFI_SECTION_TYPE SectionType, OUT VOID **Buffer, OUT UINTN *Size ) argument
100 GetImage( IN EFI_GUID *NameGuid, IN EFI_SECTION_TYPE SectionType, OUT VOID **Buffer, OUT UINTN *Size ) argument
111 GetImageEx( IN EFI_HANDLE ImageHandle, IN EFI_GUID *NameGuid, IN EFI_SECTION_TYPE SectionType, OUT VOID **Buffer, OUT UINTN *Size, BOOLEAN WithinImageFv ) argument
[all...]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
H A DEfiSection.py63 SectionType = FfsInf.__ExtendMacro__(self.SectionType)
68 if FfsInf.ModuleType in ('SEC', 'PEI_CORE', 'PEIM') and SectionType in ('TE', 'PE32'):
104 if SectionType == 'VERSION':
120 OutputFile = os.path.join( OutputPath, ModuleName + 'SEC' + str(Num) + Ffs.SectionSuffix.get(SectionType))
130 OutputFile = os.path.join(OutputPath, ModuleName + 'SEC' + Num + Ffs.SectionSuffix.get(SectionType))
158 OutputFile = os.path.join( OutputPath, ModuleName + 'SEC' + str(Num) + Ffs.SectionSuffix.get(SectionType))
167 elif SectionType == 'UI':
176 OutputFile = os.path.join( OutputPath, ModuleName + 'SEC' + str(Num) + Ffs.SectionSuffix.get(SectionType))
185 OutputFile = os.path.join(OutputPath, ModuleName + 'SEC' + Num + Ffs.SectionSuffix.get(SectionType))
[all...]
H A DGuidSection.py65 self.SectionType = FfsInf.__ExtendMacro__(self.SectionType)
139 GenFdsGlobalVariable.GenerateSection(OutputFile, SectFile, Section.Section.SectionType[self.SectionType], InputAlign=SectAlign)
241 GenFdsGlobalVariable.GenerateSection(OutputFile, [TempFile], Section.Section.SectionType['GUIDED'],
H A DSection.py28 SectionType = { variable in class:Section
122 Suffix = Section.SectionType.get(FileType)
H A DCompressSection.py81 GenFdsGlobalVariable.GenerateSection(OutputFile, SectFiles, Section.Section.SectionType['COMPRESS'],
H A DFfsInfStatement.py698 SectionType = Rule.SectionType
703 if SectionType == 'DXE_DEPEX':
704 SectionType = 'SMM_DEPEX'
709 if SectionType == 'SMM_DEPEX':
725 Ffs.Ffs.SectionSuffix[SectionType] + 'SEC' + SecNum
731 if self.Alignment == 'Auto' and (SectionType == 'PE32' or SectionType == 'TE'):
751 if SectionType == 'TE':
760 GenFdsGlobalVariable.GenerateSection(OutputFile, [File], Section.Section.SectionType[SectionTyp
[all...]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenSection/
H A DGenSection.c85 UINTN SectionType; local
100 " -s SectionType Specifies the type of the section, which can be one of",
108 for (SectionType = 0; SectionType <= EFI_SECTION_LAST_SECTION_TYPE; SectionType++) {
109 if (SectionTypeName[SectionType] != NULL) {
110 fprintf (stdout, " %s\n", SectionTypeName[SectionType]);
169 UINTN SectionType,
188 SectionType - A valid section type string
233 CommonSect.Type = (EFI_SECTION_TYPE) SectionType;
166 GenSectionCommonLeafSection( char **InputFileName, int InputFileNum, UINTN SectionType, FILE *OutFile ) argument
377 GenSectionCompressionSection( char **InputFileName, int InputFileNum, UINTN SectionType, UINTN SectionSubType, FILE *OutFile ) argument
544 GenSectionGuidDefinedSection( char **InputFileName, int InputFileNum, UINTN SectionType, UINTN SectionSubType, FILE *OutFile ) argument
699 UINTN SectionType; local
[all...]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/BiosIdLib/
H A DBiosIdLib.c53 IN EFI_SECTION_TYPE SectionType,
71 SectionType,
78 if (EFI_ERROR (Status) && (SectionType == EFI_SECTION_TE)) {
96 ((SectionType == EFI_SECTION_TE) || (SectionType == EFI_SECTION_PE32))) {
121 IN EFI_SECTION_TYPE SectionType,
158 Status = GetImageFromFv (ImageFv, NameGuid, SectionType, Buffer, Size);
196 Status = GetImageFromFv (Fv, NameGuid, SectionType, Buffer, Size);
41 GetImageFromFv( IN EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv, IN EFI_GUID *NameGuid, IN EFI_SECTION_TYPE SectionType, OUT VOID **Buffer, OUT UINTN *Size ) argument
109 GetImageEx( IN EFI_HANDLE ImageHandle, IN EFI_GUID *NameGuid, IN EFI_SECTION_TYPE SectionType, OUT VOID **Buffer, OUT UINTN *Size, BOOLEAN WithinImageFv ) argument
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Object/Parser/
H A DInfDepexObject.py30 self.SectionType = ''
33 def SetSectionType(self, SectionType):
34 self.SectionType = SectionType
36 return self.SectionType
/device/linaro/bootloader/edk2/MdePkg/Library/DxeServicesLib/
H A DDxeServicesLib.c75 by NameGuid, SectionType and SectionInstance.
80 If SectionType is EFI_SECTION_TE, EFI_SECTION_TE is used as section type to start the search. If EFI_SECTION_TE section
95 @param SectionType The Firmware Section type.
103 @retval EFI_NOT_FOUND The image specified by NameGuid and SectionType
117 IN EFI_SECTION_TYPE SectionType,
150 SectionType,
157 if (EFI_ERROR (Status) && (SectionType == EFI_SECTION_TE)) {
184 is made for FFS sections of type SectionType. If the FFS file contains at least SectionInstance instances
185 of the FFS section specified by SectionType, then the SectionInstance instance is returned in Buffer.
189 are retrieved from an FFS file based on SectionType an
114 InternalGetSectionFromFv( IN EFI_HANDLE FvHandle, IN CONST EFI_GUID *NameGuid, IN EFI_SECTION_TYPE SectionType, IN UINTN SectionInstance, OUT VOID **Buffer, OUT UINTN *Size ) argument
227 GetSectionFromAnyFvByFileType( IN EFI_FV_FILETYPE FileType, IN UINTN FileInstance, IN EFI_SECTION_TYPE SectionType, IN UINTN SectionInstance, OUT VOID **Buffer, OUT UINTN *Size ) argument
367 GetSectionFromAnyFv( IN CONST EFI_GUID *NameGuid, IN EFI_SECTION_TYPE SectionType, IN UINTN SectionInstance, OUT VOID **Buffer, OUT UINTN *Size ) argument
493 GetSectionFromFv( IN CONST EFI_GUID *NameGuid, IN EFI_SECTION_TYPE SectionType, IN UINTN SectionInstance, OUT VOID **Buffer, OUT UINTN *Size ) argument
556 GetSectionFromFfs( IN EFI_SECTION_TYPE SectionType, IN UINTN SectionInstance, OUT VOID **Buffer, OUT UINTN *Size ) argument
616 EFI_SECTION_TYPE SectionType; local
967 GetFileDevicePathFromAnyFv( IN CONST EFI_GUID *NameGuid, IN EFI_SECTION_TYPE SectionType, IN UINTN SectionInstance, OUT EFI_DEVICE_PATH_PROTOCOL **FvFileDevicePath ) argument
[all...]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Ppi/SectionExtraction/
H A DSectionExtraction.h37 IN EFI_SECTION_TYPE * SectionType,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Protocol/SectionExtraction/
H A DSectionExtraction.h57 IN EFI_SECTION_TYPE * SectionType,
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Include/Ppi/
H A DSectionExtraction.h43 @param SectionType The pointer to an EFI_SECTION_TYPE. If
44 SectionType == NULL, the contents of the entire
45 section are returned in Buffer. If SectionType
48 If SectionType == EFI_SECTION_GUID_DEFINED,
50 GUID to search. If SectionType != EFI_SECTION_GUID_DEFINED,
52 @param SectionInstance If SectionType is not NULL, indicates which
88 IN EFI_SECTION_TYPE *SectionType,
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Include/Protocol/
H A DSectionExtraction.h69 @param SectionType The pointer to an EFI_SECTION_TYPE. If SectionType == NULL,
71 in Buffer. If SectionType is not NULL, only the
75 @param SectionDefinitionGuid The pointer to an EFI_GUID. If SectionType ==
78 SectionType !=EFI_SECTION_GUID_DEFINED, then
81 type to return when SectionType is not NULL.
113 IN EFI_SECTION_TYPE *SectionType,
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/
H A DInfSectionParser.py431 def InfSpecialCommentParser (self, SpecialSectionList, InfSectionObject, ContainerFile, SectionType):
438 if SectionType == DT.TYPE_EVENT_SECTION:
440 elif SectionType == DT.TYPE_HOB_SECTION:
449 if SectionType == DT.TYPE_HOB_SECTION:
473 if SectionType == DT.TYPE_EVENT_SECTION:
478 elif SectionType == DT.TYPE_HOB_SECTION:
494 SectionType):
497 ST.ERR_INF_PARSER_MODULE_SECTION_TYPE_ERROR % (SectionType),
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
H A DFvLib.h66 IN EFI_SECTION_TYPE SectionType,
H A DFvLib.c396 IN EFI_SECTION_TYPE SectionType,
406 by FirstSection to SearchEnd for the Instance-th section of type SectionType.
415 SectionType The type of section to search.
438 if (CurrentSection.CommonHeader->Type == SectionType) {
461 if (SectionType != EFI_SECTION_GUID_DEFINED &&
470 SectionType,
491 IN EFI_SECTION_TYPE SectionType,
507 SectionType Type of file to search for.
553 SectionType,
393 SearchSectionByType( IN EFI_FILE_SECTION_POINTER FirstSection, IN UINT8 *SearchEnd, IN EFI_SECTION_TYPE SectionType, IN OUT UINTN *StartIndex, IN UINTN Instance, OUT EFI_FILE_SECTION_POINTER *Section ) argument
489 GetSectionByType( IN EFI_FFS_FILE_HEADER *File, IN EFI_SECTION_TYPE SectionType, IN UINTN Instance, OUT EFI_FILE_SECTION_POINTER *Section ) argument
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/
H A DFvLib.h67 IN EFI_SECTION_TYPE SectionType,
H A DFvLib.c397 IN EFI_SECTION_TYPE SectionType,
407 by FirstSection to SearchEnd for the Instance-th section of type SectionType.
416 SectionType The type of section to search.
435 if (CurrentSection.CommonHeader->Type == SectionType) {
449 if (SectionType != EFI_SECTION_GUID_DEFINED &&
460 SectionType,
481 IN EFI_SECTION_TYPE SectionType,
497 SectionType Type of file to search for.
540 SectionType,
394 SearchSectionByType( IN EFI_FILE_SECTION_POINTER FirstSection, IN UINT8 *SearchEnd, IN EFI_SECTION_TYPE SectionType, IN OUT UINTN *StartIndex, IN UINTN Instance, OUT EFI_FILE_SECTION_POINTER *Section ) argument
479 GetSectionByType( IN EFI_FFS_FILE_HEADER *File, IN EFI_SECTION_TYPE SectionType, IN UINTN Instance, OUT EFI_FILE_SECTION_POINTER *Section ) argument
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Include/Framework/
H A DPeiCis.h109 @param SectionType The value of the section type to find.
121 IN EFI_SECTION_TYPE SectionType,
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/FwVol/
H A DFwVolRead.c242 irrespective of the value of the SectionType
403 @param SectionType Indicates the section type to return.
405 type of SectionType to return.
429 IN EFI_SECTION_TYPE SectionType,
498 // If SectionType == 0 We need the whole section stream
502 (SectionType == 0) ? NULL : &SectionType,
504 (SectionType == 0) ? 0 : SectionInstance,
426 FvReadFileSection( IN CONST EFI_FIRMWARE_VOLUME2_PROTOCOL *This, IN CONST EFI_GUID *NameGuid, IN EFI_SECTION_TYPE SectionType, IN UINTN SectionInstance, IN OUT VOID **Buffer, IN OUT UINTN *BufferSize, OUT UINT32 *AuthenticationStatus ) argument

Completed in 2129 milliseconds

1234