Lines Matching defs:InputSection

25   Examines a GUIDed section specified by InputSection.  

26 If GUID for InputSection does not match the GUID that this handler supports,
28 If the required information can not be retrieved from InputSection,
30 If the GUID of InputSection does match the GUID that this handler supports,
33 from EFI_GUID_DEFINED_SECTION header of InputSection is returned in SectionAttribute.
35 If InputSection is NULL, then ASSERT().
41 @param[in] InputSection A pointer to a GUIDed section of an FFS formatted file.
43 if the buffer specified by InputSection were decoded.
45 if the buffer specified by InputSection were decoded.
49 @retval RETURN_SUCCESS The information about InputSection was returned.
50 @retval RETURN_UNSUPPORTED The section specified by InputSection does not match the GUID this handler supports.
51 @retval RETURN_INVALID_PARAMETER The information can not be retrieved from the section specified by InputSection.
57 IN CONST VOID *InputSection,
63 ASSERT (InputSection != NULL);
68 if (IS_SECTION2 (InputSection)) {
71 &(((EFI_GUID_DEFINED_SECTION2 *) InputSection)->SectionDefinitionGuid))) {
75 *SectionAttribute = ((EFI_GUID_DEFINED_SECTION2 *) InputSection)->Attributes;
78 (UINT8 *) InputSection + ((EFI_GUID_DEFINED_SECTION2 *) InputSection)->DataOffset,
79 SECTION2_SIZE (InputSection) - ((EFI_GUID_DEFINED_SECTION2 *) InputSection)->DataOffset,
86 &(((EFI_GUID_DEFINED_SECTION *) InputSection)->SectionDefinitionGuid))) {
90 *SectionAttribute = ((EFI_GUID_DEFINED_SECTION *) InputSection)->Attributes;
93 (UINT8 *) InputSection + ((EFI_GUID_DEFINED_SECTION *) InputSection)->DataOffset,
94 SECTION_SIZE (InputSection) - ((EFI_GUID_DEFINED_SECTION *) InputSection)->DataOffset,
104 Decodes the GUIDed section specified by InputSection.
105 If GUID for InputSection does not match the GUID that this handler supports, then RETURN_UNSUPPORTED is returned.
106 If the data in InputSection can not be decoded, then RETURN_INVALID_PARAMETER is returned.
107 If the GUID of InputSection does match the GUID that this handler supports, then InputSection
110 data in InputSection, then OutputBuffer is set to point at the data in InputSection. Otherwise,
113 If InputSection is NULL, then ASSERT().
119 @param[in] InputSection A pointer to a GUIDed section of an FFS formatted file.
129 @retval RETURN_SUCCESS The buffer specified by InputSection was decoded.
130 @retval RETURN_UNSUPPORTED The section specified by InputSection does not match the GUID this handler supports.
131 @retval RETURN_INVALID_PARAMETER The section specified by InputSection can not be decoded.
137 IN CONST VOID *InputSection,
152 ASSERT (InputSection != NULL);
154 if (IS_SECTION2 (InputSection)) {
155 InputGuid = &(((EFI_GUID_DEFINED_SECTION2 *) InputSection)->SectionDefinitionGuid);
156 Source = (UINT8 *) InputSection + ((EFI_GUID_DEFINED_SECTION2 *) InputSection)->DataOffset;
157 SourceSize = SECTION2_SIZE (InputSection) - ((EFI_GUID_DEFINED_SECTION2 *) InputSection)->DataOffset;
159 InputGuid = &(((EFI_GUID_DEFINED_SECTION *) InputSection)->SectionDefinitionGuid);
160 Source = (UINT8 *) InputSection + ((EFI_GUID_DEFINED_SECTION *) InputSection)->DataOffset;
161 SourceSize = SECTION_SIZE (InputSection) - ((EFI_GUID_DEFINED_SECTION *) InputSection)->DataOffset;