\r
3) A support protocol is not found, and the data is not available to be read\r
without it. This results in EFI_PROTOCOL_ERROR.\r
- \r
-Copyright (c) 2006 - 2008, Intel Corporation \r
-All rights reserved. This program and the accompanying materials \r
-are licensed and made available under the terms and conditions of the BSD License \r
-which accompanies this distribution. The full text of the license may be found at \r
-http://opensource.org/licenses/bsd-license.php \r
- \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
+\r
+Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
+All rights reserved. This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution. The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
**/\r
\r
@retval FALSE The child doesn't match\r
\r
**/\r
-STATIC\r
BOOLEAN\r
ChildIsType (\r
- IN CORE_SECTION_STREAM_NODE *Stream,\r
- IN CORE_SECTION_CHILD_NODE *Child,\r
- IN EFI_SECTION_TYPE SearchType,\r
- IN EFI_GUID *SectionDefinitionGuid\r
+ IN CORE_SECTION_STREAM_NODE *Stream,\r
+ IN CORE_SECTION_CHILD_NODE *Child,\r
+ IN EFI_SECTION_TYPE SearchType,\r
+ IN EFI_GUID *SectionDefinitionGuid\r
);\r
\r
#if 0\r
identify the relevent encapsulation...\r
\r
**/\r
-STATIC\r
VOID\r
EFIAPI\r
NotifyGuidedExtraction (\r
- IN EFI_EVENT Event,\r
- IN VOID *RpnContext\r
+ IN EFI_EVENT Event,\r
+ IN VOID *RpnContext\r
);\r
#endif\r
\r
#if 0\r
/**\r
Worker function. Constructor for RPN event if needed to keep AuthenticationStatus\r
- cache correct when a missing GUIDED_SECTION_EXTRACTION_PROTOCOL appears.\r
+ cache correct when a missing GUIDED_SECTION_EXTRACTION_PROTOCOL appears...\r
\r
@param ParentStream Indicates the parent of the ecnapsulation \r
section (child) \r
encapsulation section.\r
\r
**/\r
-STATIC\r
VOID\r
CreateGuidedExtractionRpnEvent (\r
- IN CORE_SECTION_STREAM_NODE *ParentStream,\r
- IN CORE_SECTION_CHILD_NODE *ChildNode\r
+ IN CORE_SECTION_STREAM_NODE *ParentStream,\r
+ IN CORE_SECTION_CHILD_NODE *ChildNode\r
);\r
#endif\r
\r
database.\r
\r
**/\r
-STATIC\r
EFI_STATUS\r
FindStreamNode (\r
- IN UINTN SearchHandle,\r
- OUT CORE_SECTION_STREAM_NODE **FoundStream\r
+ IN UINTN SearchHandle,\r
+ OUT CORE_SECTION_STREAM_NODE **FoundStream\r
);\r
\r
/**\r
does not exist\r
\r
**/\r
-STATIC\r
EFI_STATUS\r
FindChildNode (\r
- IN CORE_SECTION_STREAM_NODE *SourceStream,\r
- IN EFI_SECTION_TYPE SearchType,\r
- IN UINTN *SectionInstance,\r
- IN EFI_GUID *SectionDefinitionGuid,\r
- OUT CORE_SECTION_CHILD_NODE **FoundChild,\r
- OUT CORE_SECTION_STREAM_NODE **FoundStream,\r
- OUT UINT32 *AuthenticationStatus\r
+ IN CORE_SECTION_STREAM_NODE *SourceStream,\r
+ IN EFI_SECTION_TYPE SearchType,\r
+ IN OUT UINTN *SectionInstance,\r
+ IN EFI_GUID *SectionDefinitionGuid,\r
+ OUT CORE_SECTION_CHILD_NODE **FoundChild,\r
+ OUT CORE_SECTION_STREAM_NODE **FoundStream,\r
+ OUT UINT32 *AuthenticationStatus\r
);\r
\r
/**\r
returned by OpenSectionStreamEx.\r
\r
**/\r
-STATIC\r
EFI_STATUS\r
CreateChildNode (\r
- IN CORE_SECTION_STREAM_NODE *Stream,\r
- IN UINT32 ChildOffset,\r
- OUT CORE_SECTION_CHILD_NODE **ChildNode\r
+ IN CORE_SECTION_STREAM_NODE *Stream,\r
+ IN UINT32 ChildOffset,\r
+ OUT CORE_SECTION_CHILD_NODE **ChildNode\r
);\r
\r
/**\r
@param ChildNode Indicates the node to destroy\r
\r
**/\r
-STATIC\r
VOID\r
FreeChildNode (\r
- IN CORE_SECTION_CHILD_NODE *ChildNode\r
+ IN CORE_SECTION_CHILD_NODE *ChildNode\r
);\r
\r
/**\r
@retval EFI_OUT_OF_RESOURCES memory allocation failed.\r
\r
**/\r
-STATIC\r
EFI_STATUS\r
OpenSectionStreamEx (\r
- IN UINTN SectionStreamLength,\r
- IN VOID *SectionStream,\r
- IN BOOLEAN AllocateBuffer,\r
- IN UINT32 AuthenticationStatus, \r
- OUT UINTN *SectionStreamHandle\r
+ IN UINTN SectionStreamLength,\r
+ IN VOID *SectionStream,\r
+ IN BOOLEAN AllocateBuffer,\r
+ IN UINT32 AuthenticationStatus, \r
+ OUT UINTN *SectionStreamHandle\r
);\r
\r
/**\r
@return A boolean value indicating the validness of the section stream.\r
\r
**/\r
-STATIC\r
BOOLEAN\r
IsValidSectionStream (\r
- IN VOID *SectionStream,\r
- IN UINTN SectionStreamLength\r
+ IN VOID *SectionStream,\r
+ IN UINTN SectionStreamLength\r
);\r
\r
/**\r
EFI_STATUS\r
EFIAPI\r
CustomGuidedSectionExtract (\r
- IN CONST EFI_GUIDED_SECTION_EXTRACTION_PROTOCOL *This,\r
+ IN CONST EFI_GUIDED_SECTION_EXTRACTION_PROTOCOL *This,\r
IN CONST VOID *InputSection,\r
OUT VOID **OutputBuffer,\r
OUT UINTN *OutputSize,\r
@retval FALSE The child doesn't match\r
\r
**/\r
-STATIC\r
BOOLEAN\r
ChildIsType (\r
IN CORE_SECTION_STREAM_NODE *Stream,\r
does not exist\r
\r
**/\r
-STATIC\r
EFI_STATUS\r
FindChildNode (\r
IN CORE_SECTION_STREAM_NODE *SourceStream,\r
returned by OpenSectionStreamEx.\r
\r
**/\r
-STATIC\r
EFI_STATUS\r
CreateChildNode (\r
IN CORE_SECTION_STREAM_NODE *Stream,\r
encapsulation section.\r
\r
**/\r
-STATIC\r
VOID\r
CreateGuidedExtractionRpnEvent (\r
IN CORE_SECTION_STREAM_NODE *ParentStream,\r
identify the relevent encapsulation...\r
\r
**/\r
-STATIC\r
VOID\r
EFIAPI\r
NotifyGuidedExtraction (\r
@param ChildNode Indicates the node to destroy\r
\r
**/\r
-STATIC\r
VOID\r
FreeChildNode (\r
IN CORE_SECTION_CHILD_NODE *ChildNode\r
@retval EFI_OUT_OF_RESOURCES memory allocation failed.\r
\r
**/\r
-STATIC\r
EFI_STATUS\r
OpenSectionStreamEx (\r
IN UINTN SectionStreamLength,\r
database.\r
\r
**/\r
-STATIC\r
EFI_STATUS\r
FindStreamNode (\r
IN UINTN SearchHandle,\r
@return A boolean value indicating the validness of the section stream.\r
\r
**/\r
-STATIC\r
BOOLEAN\r
IsValidSectionStream (\r
IN VOID *SectionStream,\r