Home
last modified time | relevance | path

Searched refs:SectionType (Results 1 – 25 of 84) sorted by relevance

1234

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenSection/
DGenSection.c85 UINTN SectionType; in PrintUsageMessage() local
108 for (SectionType = 0; SectionType <= EFI_SECTION_LAST_SECTION_TYPE; SectionType++) { in PrintUsageMessage()
109 if (SectionTypeName[SectionType] != NULL) { in PrintUsageMessage()
110 fprintf (stdout, " %s\n", SectionTypeName[SectionType]); in PrintUsageMessage()
169 UINTN SectionType, in GenSectionCommonLeafSection() argument
233 CommonSect.Type = (EFI_SECTION_TYPE) SectionType; in GenSectionCommonLeafSection()
380 UINTN SectionType, in GenSectionCompressionSection() argument
423 if (SectionType != EFI_SECTION_COMPRESSION) { in GenSectionCompressionSection()
530 CompressionSect.CommonHeader.Type = (EFI_SECTION_TYPE) SectionType; in GenSectionCompressionSection()
547 UINTN SectionType, in GenSectionGuidDefinedSection() argument
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Workspace/
DMetaFileCommentParser.py35 def CheckInfComment(SectionType, Comments, InfFile, LineNo, ValueList): argument
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 …nts, UsageList + ("TO_START", "BY_START"), InfFile, LineNo, ValueList[0], ErrorMsgMap[SectionType])
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/
DGetImage.c36 IN EFI_SECTION_TYPE SectionType, in GetImageFromFv() argument
54 SectionType, in GetImageFromFv()
61 if (EFI_ERROR (Status) && (SectionType == EFI_SECTION_TE)) { in GetImageFromFv()
79 ((SectionType == EFI_SECTION_TE) || (SectionType == EFI_SECTION_PE32))) { in GetImageFromFv()
102 IN EFI_SECTION_TYPE SectionType, in GetImage() argument
107 return GetImageEx (NULL, NameGuid, SectionType, Buffer, Size, FALSE); in GetImage()
114 IN EFI_SECTION_TYPE SectionType, in GetImageEx() argument
158 Status = GetImageFromFv (ImageFv, NameGuid, SectionType, Buffer, Size); in GetImageEx()
204 Status = GetImageFromFv (Fv, NameGuid, SectionType, Buffer, Size); in GetImageEx()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/
DGetImage.c36 IN EFI_SECTION_TYPE SectionType, in GetImageFromFv() argument
54 SectionType, in GetImageFromFv()
61 if (EFI_ERROR (Status) && (SectionType == EFI_SECTION_TE)) { in GetImageFromFv()
79 ((SectionType == EFI_SECTION_TE) || (SectionType == EFI_SECTION_PE32))) { in GetImageFromFv()
102 IN EFI_SECTION_TYPE SectionType, in GetImage() argument
107 return GetImageEx (NULL, NameGuid, SectionType, Buffer, Size, FALSE); in GetImage()
114 IN EFI_SECTION_TYPE SectionType, in GetImageEx() argument
158 Status = GetImageFromFv (ImageFv, NameGuid, SectionType, Buffer, Size); in GetImageEx()
204 Status = GetImageFromFv (Fv, NameGuid, SectionType, Buffer, Size); in GetImageEx()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
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 …ile = os.path.join( OutputPath, ModuleName + 'SEC' + str(Num) + Ffs.SectionSuffix.get(SectionType))
130 …utputFile = os.path.join(OutputPath, ModuleName + 'SEC' + Num + Ffs.SectionSuffix.get(SectionType))
158 …ile = os.path.join( OutputPath, ModuleName + 'SEC' + str(Num) + Ffs.SectionSuffix.get(SectionType))
167 elif SectionType == 'UI':
176 …ile = os.path.join( OutputPath, ModuleName + 'SEC' + str(Num) + Ffs.SectionSuffix.get(SectionType))
185 …utputFile = os.path.join(OutputPath, ModuleName + 'SEC' + Num + Ffs.SectionSuffix.get(SectionType))
205 …ile = os.path.join( OutputPath, ModuleName + 'SEC' + str(Num) + Ffs.SectionSuffix.get(SectionType))
[all …]
DGuidSection.py66 self.SectionType = FfsInf.__ExtendMacro__(self.SectionType)
140 …ariable.GenerateSection(OutputFile, SectFile, Section.Section.SectionType[self.SectionType], Input…
242 …GenFdsGlobalVariable.GenerateSection(OutputFile, [TempFile], Section.Section.SectionType['GUIDED'],
DFfsInfStatement.py694 SectionType = Rule.SectionType
699 if SectionType == 'DXE_DEPEX':
700 SectionType = 'SMM_DEPEX'
705 if SectionType == 'SMM_DEPEX':
721 Ffs.Ffs.SectionSuffix[SectionType] + 'SEC' + SecNum
727 if self.Alignment == 'Auto' and (SectionType == 'PE32' or SectionType == 'TE'):
747 if SectionType == 'TE':
756 … GenFdsGlobalVariable.GenerateSection(OutputFile, [File], Section.Section.SectionType[SectionType])
761 Ffs.Ffs.SectionSuffix[SectionType] + 'SEC' + SecNum
766 if self.Alignment == 'Auto' and (SectionType == 'PE32' or SectionType == 'TE'):
[all …]
DSection.py28 SectionType = { variable in Section
122 Suffix = Section.SectionType.get(FileType)
/device/linaro/bootloader/edk2/MdePkg/Include/Library/
DDxeServicesLib.h64 IN EFI_SECTION_TYPE SectionType,
117 IN EFI_SECTION_TYPE SectionType,
172 IN EFI_SECTION_TYPE SectionType,
224 IN EFI_SECTION_TYPE SectionType,
303 IN EFI_SECTION_TYPE SectionType,
/device/linaro/bootloader/edk2/MdePkg/Library/DxeServicesLib/
DDxeServicesLib.c117 IN EFI_SECTION_TYPE SectionType, in InternalGetSectionFromFv() argument
150 SectionType, in InternalGetSectionFromFv()
157 if (EFI_ERROR (Status) && (SectionType == EFI_SECTION_TE)) { in InternalGetSectionFromFv()
230 IN EFI_SECTION_TYPE SectionType, in GetSectionFromAnyFvByFileType() argument
295 SectionType, in GetSectionFromAnyFvByFileType()
369 IN EFI_SECTION_TYPE SectionType, in GetSectionFromAnyFv() argument
391 SectionType, in GetSectionFromAnyFv()
420 SectionType, in GetSectionFromAnyFv()
495 IN EFI_SECTION_TYPE SectionType, in GetSectionFromFv() argument
504 SectionType, in GetSectionFromFv()
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/BiosIdLib/
DBiosIdLib.c53 IN EFI_SECTION_TYPE SectionType, in GetImageFromFv()
71 SectionType, in GetImageFromFv()
78 if (EFI_ERROR (Status) && (SectionType == EFI_SECTION_TE)) { in GetImageFromFv()
96 ((SectionType == EFI_SECTION_TE) || (SectionType == EFI_SECTION_PE32))) { in GetImageFromFv()
121 IN EFI_SECTION_TYPE SectionType,
158 Status = GetImageFromFv (ImageFv, NameGuid, SectionType, Buffer, Size);
196 Status = GetImageFromFv (Fv, NameGuid, SectionType, Buffer, Size);
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Object/Parser/
DInfDepexObject.py30 self.SectionType = ''
33 def SetSectionType(self, SectionType): argument
34 self.SectionType = SectionType
36 return self.SectionType
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/
DGetImage.h29 IN EFI_SECTION_TYPE SectionType,
64 IN EFI_SECTION_TYPE SectionType,
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/
DInfSectionParser.py431 …f InfSpecialCommentParser (self, SpecialSectionList, InfSectionObject, ContainerFile, SectionType): argument
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),
DInfParser.py153 SectionType = ''
363 SectionType = _ConvertSecNameToType(self.SectionHeaderContent[0][0])
366 CurrentSection = SectionType
388 CurrentSection = SectionType
679 SectionType = ''
681 SectionType = DT.MODEL_UNKNOWN
683 SectionType = gINF_SECTION_DEF[SectionName.upper()]
685 return SectionType
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/
DFvLib.c397 IN EFI_SECTION_TYPE SectionType, in SearchSectionByType() argument
435 if (CurrentSection.CommonHeader->Type == SectionType) { in SearchSectionByType()
449 if (SectionType != EFI_SECTION_GUID_DEFINED && in SearchSectionByType()
460 SectionType, in SearchSectionByType()
481 IN EFI_SECTION_TYPE SectionType, in GetSectionByType() argument
540 SectionType, in GetSectionByType()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/FwVol/
DFwVolRead.c432 IN EFI_SECTION_TYPE SectionType, in FvReadFileSection() argument
505 (SectionType == 0) ? NULL : &SectionType, in FvReadFileSection()
507 (SectionType == 0) ? 0 : SectionInstance, in FvReadFileSection()
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DFvLib.c396 IN EFI_SECTION_TYPE SectionType, in SearchSectionByType() argument
438 if (CurrentSection.CommonHeader->Type == SectionType) { in SearchSectionByType()
461 if (SectionType != EFI_SECTION_GUID_DEFINED && in SearchSectionByType()
470 SectionType, in SearchSectionByType()
491 IN EFI_SECTION_TYPE SectionType, in GetSectionByType() argument
553 SectionType, in GetSectionByType()
/device/linaro/bootloader/edk2/EmulatorPkg/Library/SecPeiServicesLib/
DPeiServicesLib.c33 IN EFI_SECTION_TYPE SectionType,
308 IN EFI_SECTION_TYPE SectionType, in PeiServicesFfsFindSectionData() argument
313 return SecFfsFindSectionData (SectionType, FileHandle, SectionData); in PeiServicesFfsFindSectionData()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/FirmwareVolume/UpdateDriverDxe/
DUpdateDispatcher.c368 EFI_SECTION_TYPE SectionType; in PerformUpdate() local
410 SectionType = EFI_SECTION_FIRMWARE_VOLUME_IMAGE; in PerformUpdate()
416 SectionType, in PerformUpdate()
608 EFI_SECTION_TYPE SectionType; in InitializeUpdateDriver() local
683 SectionType = EFI_SECTION_PE32; in InitializeUpdateDriver()
689 SectionType, in InitializeUpdateDriver()
/device/linaro/bootloader/edk2/MdePkg/Library/PeiServicesLib/
DPeiServicesLib.c293 IN EFI_SECTION_TYPE SectionType, in PeiServicesFfsFindSectionData() argument
301 return (*PeiServices)->FfsFindSectionData (PeiServices, SectionType, FileHandle, SectionData); in PeiServicesFfsFindSectionData()
321 IN EFI_SECTION_TYPE SectionType, in PeiServicesFfsFindSectionData3() argument
331 …return (*PeiServices)->FindSectionData3 (PeiServices, SectionType, SectionInstance, FileHandle, Se… in PeiServicesFfsFindSectionData3()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/CommonDataClass/
DFdfClass.py212 self.SectionType = None
250 self.SectionType = None
329 self.SectionType = ''
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Ppi/SectionExtraction/
DSectionExtraction.h37 IN EFI_SECTION_TYPE * SectionType,
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Include/Ppi/
DSectionExtraction.h88 IN EFI_SECTION_TYPE *SectionType,
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DFdfParserLite.py2185 def __SectionCouldHaveRelocFlag (self, SectionType): argument
2186 if SectionType in ('TE', 'PE32'):
2539 GuidSectionObj.SectionType = "GUIDED"
3001 Rule.SectionType = SectionName
3084 EfiSectionObj.SectionType = SectionName
3090 if not self.__RuleSectionCouldHaveString(EfiSectionObj.SectionType):
3091 …ng("%s section could NOT have string data At Line %d" % (EfiSectionObj.SectionType, self.CurrentLi…
3103 if not self.__RuleSectionCouldHaveBuildNum(EfiSectionObj.SectionType):
3104 …ning("%s section could NOT have BUILD_NUM At Line %d" % (EfiSectionObj.SectionType, self.CurrentLi…
3114 self.__CheckRuleSectionFileType(EfiSectionObj.SectionType, EfiSectionObj.FileType)
[all …]

1234