Lines Matching refs:HandlerInfo
47 PEI_EXTRACT_GUIDED_SECTION_HANDLER_INFO *HandlerInfo; in PeiGetExtractGuidedSectionHandlerInfo() local
56 HandlerInfo = (PEI_EXTRACT_GUIDED_SECTION_HANDLER_INFO *) GET_GUID_HOB_DATA (Hob.Guid); in PeiGetExtractGuidedSectionHandlerInfo()
57 if (HandlerInfo->Signature == PEI_EXTRACT_HANDLER_INFO_SIGNATURE) { in PeiGetExtractGuidedSectionHandlerInfo()
61 if (HandlerInfo->ExtractHandlerGuidTable != (GUID *) (HandlerInfo + 1)) { in PeiGetExtractGuidedSectionHandlerInfo()
62 HandlerInfo->ExtractHandlerGuidTable = (GUID *) (HandlerInfo + 1); in PeiGetExtractGuidedSectionHandlerInfo()
63 HandlerInfo->ExtractDecodeHandlerTable = (EXTRACT_GUIDED_SECTION_DECODE_HANDLER *) ( in PeiGetExtractGuidedSectionHandlerInfo()
64 … (UINT8 *)HandlerInfo->ExtractHandlerGuidTable + in PeiGetExtractGuidedSectionHandlerInfo()
67 HandlerInfo->ExtractGetInfoHandlerTable = (EXTRACT_GUIDED_SECTION_GET_INFO_HANDLER *) ( in PeiGetExtractGuidedSectionHandlerInfo()
68 … (UINT8 *)HandlerInfo->ExtractDecodeHandlerTable + in PeiGetExtractGuidedSectionHandlerInfo()
76 *InfoPointer = HandlerInfo; in PeiGetExtractGuidedSectionHandlerInfo()
87 HandlerInfo = BuildGuidHob ( in PeiGetExtractGuidedSectionHandlerInfo()
93 if (HandlerInfo == NULL) { in PeiGetExtractGuidedSectionHandlerInfo()
103 HandlerInfo->Signature = PEI_EXTRACT_HANDLER_INFO_SIGNATURE; in PeiGetExtractGuidedSectionHandlerInfo()
104 HandlerInfo->NumberOfExtractHandler = 0; in PeiGetExtractGuidedSectionHandlerInfo()
105 HandlerInfo->ExtractHandlerGuidTable = (GUID *) (HandlerInfo + 1); in PeiGetExtractGuidedSectionHandlerInfo()
106 HandlerInfo->ExtractDecodeHandlerTable = (EXTRACT_GUIDED_SECTION_DECODE_HANDLER *) ( in PeiGetExtractGuidedSectionHandlerInfo()
107 (UINT8 *)HandlerInfo->ExtractHandlerGuidTable + in PeiGetExtractGuidedSectionHandlerInfo()
110 HandlerInfo->ExtractGetInfoHandlerTable = (EXTRACT_GUIDED_SECTION_GET_INFO_HANDLER *) ( in PeiGetExtractGuidedSectionHandlerInfo()
111 (UINT8 *)HandlerInfo->ExtractDecodeHandlerTable + in PeiGetExtractGuidedSectionHandlerInfo()
118 *InfoPointer = HandlerInfo; in PeiGetExtractGuidedSectionHandlerInfo()
143 PEI_EXTRACT_GUIDED_SECTION_HANDLER_INFO *HandlerInfo; in ExtractGuidedSectionGetGuidList() local
150 Status = PeiGetExtractGuidedSectionHandlerInfo (&HandlerInfo); in ExtractGuidedSectionGetGuidList()
159 ASSERT (HandlerInfo != NULL); in ExtractGuidedSectionGetGuidList()
160 *ExtractHandlerGuidTable = HandlerInfo->ExtractHandlerGuidTable; in ExtractGuidedSectionGetGuidList()
161 return HandlerInfo->NumberOfExtractHandler; in ExtractGuidedSectionGetGuidList()
198 PEI_EXTRACT_GUIDED_SECTION_HANDLER_INFO *HandlerInfo; in ExtractGuidedSectionRegisterHandlers() local
212 Status = PeiGetExtractGuidedSectionHandlerInfo (&HandlerInfo); in ExtractGuidedSectionRegisterHandlers()
220 ASSERT (HandlerInfo != NULL); in ExtractGuidedSectionRegisterHandlers()
221 for (Index = 0; Index < HandlerInfo->NumberOfExtractHandler; Index ++) { in ExtractGuidedSectionRegisterHandlers()
222 if (CompareGuid (HandlerInfo->ExtractHandlerGuidTable + Index, SectionGuid)) { in ExtractGuidedSectionRegisterHandlers()
226 HandlerInfo->ExtractDecodeHandlerTable [Index] = DecodeHandler; in ExtractGuidedSectionRegisterHandlers()
227 HandlerInfo->ExtractGetInfoHandlerTable [Index] = GetInfoHandler; in ExtractGuidedSectionRegisterHandlers()
235 if (HandlerInfo->NumberOfExtractHandler >= PcdGet32 (PcdMaximumGuidedExtractHandler)) { in ExtractGuidedSectionRegisterHandlers()
242 …CopyGuid (HandlerInfo->ExtractHandlerGuidTable + HandlerInfo->NumberOfExtractHandler, SectionGuid); in ExtractGuidedSectionRegisterHandlers()
243 HandlerInfo->ExtractDecodeHandlerTable [HandlerInfo->NumberOfExtractHandler] = DecodeHandler; in ExtractGuidedSectionRegisterHandlers()
244 HandlerInfo->ExtractGetInfoHandlerTable [HandlerInfo->NumberOfExtractHandler++] = GetInfoHandler; in ExtractGuidedSectionRegisterHandlers()
304 PEI_EXTRACT_GUIDED_SECTION_HANDLER_INFO *HandlerInfo; in ExtractGuidedSectionGetInfo() local
318 Status = PeiGetExtractGuidedSectionHandlerInfo (&HandlerInfo); in ExtractGuidedSectionGetInfo()
332 ASSERT (HandlerInfo != NULL); in ExtractGuidedSectionGetInfo()
333 for (Index = 0; Index < HandlerInfo->NumberOfExtractHandler; Index ++) { in ExtractGuidedSectionGetInfo()
334 if (CompareGuid (HandlerInfo->ExtractHandlerGuidTable + Index, SectionDefinitionGuid)) { in ExtractGuidedSectionGetInfo()
338 return HandlerInfo->ExtractGetInfoHandlerTable [Index] ( in ExtractGuidedSectionGetInfo()
399 PEI_EXTRACT_GUIDED_SECTION_HANDLER_INFO *HandlerInfo; in ExtractGuidedSectionDecode() local
412 Status = PeiGetExtractGuidedSectionHandlerInfo (&HandlerInfo); in ExtractGuidedSectionDecode()
426 ASSERT (HandlerInfo != NULL); in ExtractGuidedSectionDecode()
427 for (Index = 0; Index < HandlerInfo->NumberOfExtractHandler; Index ++) { in ExtractGuidedSectionDecode()
428 if (CompareGuid (HandlerInfo->ExtractHandlerGuidTable + Index, SectionDefinitionGuid)) { in ExtractGuidedSectionDecode()
432 return HandlerInfo->ExtractDecodeHandlerTable [Index] ( in ExtractGuidedSectionDecode()
484 PEI_EXTRACT_GUIDED_SECTION_HANDLER_INFO *HandlerInfo; in ExtractGuidedSectionGetHandlers() local
494 Status = PeiGetExtractGuidedSectionHandlerInfo (&HandlerInfo); in ExtractGuidedSectionGetHandlers()
502 ASSERT (HandlerInfo != NULL); in ExtractGuidedSectionGetHandlers()
503 for (Index = 0; Index < HandlerInfo->NumberOfExtractHandler; Index ++) { in ExtractGuidedSectionGetHandlers()
504 if (CompareGuid (HandlerInfo->ExtractHandlerGuidTable + Index, SectionGuid)) { in ExtractGuidedSectionGetHandlers()
510 *GetInfoHandler = HandlerInfo->ExtractGetInfoHandlerTable[Index]; in ExtractGuidedSectionGetHandlers()
513 *DecodeHandler = HandlerInfo->ExtractDecodeHandlerTable[Index]; in ExtractGuidedSectionGetHandlers()