16#define EXTRACT_HANDLER_INFO_SIGNATURE SIGNATURE_32 ('E', 'G', 'S', 'I')
47 if (HandlerInfo ==
NULL) {
49 return EFI_OUT_OF_RESOURCES;
55 if (HandlerInfo->Signature == EXTRACT_HANDLER_INFO_SIGNATURE) {
59 *InfoPointer = HandlerInfo;
66 HandlerInfo->Signature = EXTRACT_HANDLER_INFO_SIGNATURE;
67 if (HandlerInfo->Signature != EXTRACT_HANDLER_INFO_SIGNATURE) {
82 PcdGet32 (PcdMaximumGuidedExtractHandler) *
sizeof (
GUID)
86 PcdGet32 (PcdMaximumGuidedExtractHandler) *
89 *InfoPointer = HandlerInfo;
110 OUT GUID **ExtractHandlerGuidTable
113 RETURN_STATUS Status;
116 ASSERT (ExtractHandlerGuidTable !=
NULL);
123 *ExtractHandlerGuidTable =
NULL;
130 ASSERT (HandlerInfo !=
NULL);
168 RETURN_STATUS Status;
174 ASSERT (SectionGuid !=
NULL);
175 ASSERT (GetInfoHandler !=
NULL);
176 ASSERT (DecodeHandler !=
NULL);
189 ASSERT (HandlerInfo !=
NULL);
256 OUT UINT32 *OutputBufferSize,
257 OUT UINT32 *ScratchBufferSize,
258 OUT UINT16 *SectionAttribute
262 RETURN_STATUS Status;
269 ASSERT (InputSection !=
NULL);
270 ASSERT (OutputBufferSize !=
NULL);
271 ASSERT (ScratchBufferSize !=
NULL);
272 ASSERT (SectionAttribute !=
NULL);
282 if (IS_SECTION2 (InputSection)) {
291 ASSERT (HandlerInfo !=
NULL);
352 IN VOID *ScratchBuffer OPTIONAL,
353 OUT UINT32 *AuthenticationStatus
357 RETURN_STATUS Status;
364 ASSERT (InputSection !=
NULL);
365 ASSERT (OutputBuffer !=
NULL);
366 ASSERT (AuthenticationStatus !=
NULL);
376 if (IS_SECTION2 (InputSection)) {
385 ASSERT (HandlerInfo !=
NULL);
442 RETURN_STATUS Status;
448 ASSERT (SectionGuid !=
NULL);
461 ASSERT (HandlerInfo !=
NULL);
467 if (GetInfoHandler !=
NULL) {
471 if (DecodeHandler !=
NULL) {
BOOLEAN EFIAPI CompareGuid(IN CONST GUID *Guid1, IN CONST GUID *Guid2)
GUID *EFIAPI CopyGuid(OUT GUID *DestinationGuid, IN CONST GUID *SourceGuid)
#define RETURN_ERROR(StatusCode)
#define RETURN_UNSUPPORTED
#define RETURN_OUT_OF_RESOURCES
#define PcdGet64(TokenName)
#define PcdGet32(TokenName)
EXTRACT_GUIDED_SECTION_GET_INFO_HANDLER * ExtractGetInfoHandlerTable
Handler table for getting information about correspond guided section.
UINT32 NumberOfExtractHandler
Number of handlers.
EXTRACT_GUIDED_SECTION_DECODE_HANDLER * ExtractDecodeHandlerTable
Handler table for decoding correspond guided section.
GUID * ExtractHandlerGuidTable
Guid table of handlers.