Remove BugBug in comments and adjust function header according to code style doc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1055 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -41,17 +41,17 @@ typedef struct _EFI_SECTION_EXTRACTION_PROTOCOL EFI_SECTION_EXTRACTION_PROTOCOL;
|
||||
/**
|
||||
Creates and returns a new section stream handle to represent the new section stream.
|
||||
|
||||
@param This Indicates the EFI_SECTION_EXTRACTION_PROTOCOL instance.
|
||||
@param SectionStreamLength Size in bytes of the section stream.
|
||||
@param SectionStream Buffer containing the new section stream.
|
||||
@param SectionStreamHandle A pointer to a caller-allocated UINTN that,
|
||||
@param This Indicates the EFI_SECTION_EXTRACTION_PROTOCOL instance.
|
||||
@param SectionStreamLength Size in bytes of the section stream.
|
||||
@param SectionStream Buffer containing the new section stream.
|
||||
@param SectionStreamHandle A pointer to a caller-allocated UINTN that,
|
||||
on output, contains the new section stream handle.
|
||||
|
||||
@retval EFI_SUCCESS The SectionStream was successfully processed and
|
||||
the section stream handle was returned.
|
||||
@retval EFI_OUT_OF_RESOURCES The system has insufficient resources to
|
||||
process the request.
|
||||
@retval EFI_INVALID_PARAMETER The section stream may be corrupt or the value
|
||||
@retval EFI_SUCCESS The SectionStream was successfully processed and
|
||||
the section stream handle was returned.
|
||||
@retval EFI_OUT_OF_RESOURCES The system has insufficient resources to
|
||||
process the request.
|
||||
@retval EFI_INVALID_PARAMETER The section stream may be corrupt or the value
|
||||
of SectionStreamLength may be incorrect.
|
||||
|
||||
**/
|
||||
@@ -67,36 +67,36 @@ EFI_STATUS
|
||||
/**
|
||||
Reads and returns a single section from a section stream.
|
||||
|
||||
@param This Indicates the EFI_SECTION_EXTRACTION_PROTOCOL instance.
|
||||
@param SectionStreamHandle Indicates from which section stream to read.
|
||||
@param SectionType Pointer to an EFI_SECTION_TYPE.
|
||||
@param SectionDefinitionGuid Pointer to an EFI_GUID.If SectionType ==
|
||||
EFI_SECTION_GUID_DEFINED, SectionDefinitionGuid indicates what section GUID
|
||||
to search for.If SectionType !=EFI_SECTION_GUID_DEFINED, then
|
||||
SectionDefinitionGuid is unused and is ignored.
|
||||
@param SectionInstance Indicates which instance of the requested section
|
||||
type to return when SectionType is not NULL.
|
||||
@param This Indicates the EFI_SECTION_EXTRACTION_PROTOCOL instance.
|
||||
@param SectionStreamHandle Indicates from which section stream to read.
|
||||
@param SectionType Pointer to an EFI_SECTION_TYPE.
|
||||
@param SectionDefinitionGuid Pointer to an EFI_GUID.If SectionType ==
|
||||
EFI_SECTION_GUID_DEFINED, SectionDefinitionGuid indicates what section GUID
|
||||
to search for.If SectionType !=EFI_SECTION_GUID_DEFINED, then
|
||||
SectionDefinitionGuid is unused and is ignored.
|
||||
@param SectionInstance Indicates which instance of the requested section
|
||||
type to return when SectionType is not NULL.
|
||||
@param SectionStreamHandle A pointer to a caller-allocated UINTN that, on output,
|
||||
contains the new section stream handle.
|
||||
@param Buffer Pointer to a pointer to a buffer in which the section
|
||||
contents are returned.
|
||||
@param BufferSize Pointer to a caller-allocated UINTN.
|
||||
@param AuthenticationStatus Pointer to a caller-allocated UINT32 in
|
||||
contains the new section stream handle.
|
||||
@param Buffer Pointer to a pointer to a buffer in which the section
|
||||
contents are returned.
|
||||
@param BufferSize Pointer to a caller-allocated UINTN.
|
||||
@param AuthenticationStatus Pointer to a caller-allocated UINT32 in
|
||||
which any meta-data from encapsulation GUID-defined sections is returned.
|
||||
|
||||
@retval EFI_SUCCESS The SectionStream was successfully processed and
|
||||
the section contents were returned in Buffer.
|
||||
@retval EFI_PROTOCOL_ERROR A GUID-defined section was encountered in
|
||||
the section stream with its EFI_GUIDED_SECTION_PROCESSING_REQUIRED bit set,
|
||||
but there was no corresponding GUIDed Section Extraction Protocol in
|
||||
the handle database.
|
||||
@retval EFI_NOT_FOUND An error was encountered when parsing the SectionStream,
|
||||
@retval EFI_SUCCESS The SectionStream was successfully processed and
|
||||
the section contents were returned in Buffer.
|
||||
@retval EFI_PROTOCOL_ERROR A GUID-defined section was encountered in
|
||||
the section stream with its EFI_GUIDED_SECTION_PROCESSING_REQUIRED bit set,
|
||||
but there was no corresponding GUIDed Section Extraction Protocol in
|
||||
the handle database.
|
||||
@retval EFI_NOT_FOUND An error was encountered when parsing the SectionStream,
|
||||
which indicates that the SectionStream is not correctly formatted.
|
||||
Or The requested section does not exist.
|
||||
@retval EFI_OUT_OF_RESOURCES The system has insufficient resources to process
|
||||
the request.
|
||||
@retval EFI_INVALID_PARAMETER The SectionStreamHandle does not exist.
|
||||
@retval EFI_BUFFER_TOO_SMALL The size of the input buffer is insufficient to
|
||||
Or The requested section does not exist.
|
||||
@retval EFI_OUT_OF_RESOURCES The system has insufficient resources to process
|
||||
the request.
|
||||
@retval EFI_INVALID_PARAMETER The SectionStreamHandle does not exist.
|
||||
@retval EFI_BUFFER_TOO_SMALL The size of the input buffer is insufficient to
|
||||
contain the requested section.
|
||||
|
||||
**/
|
||||
@@ -116,12 +116,10 @@ EFI_STATUS
|
||||
/**
|
||||
Deletes a section stream handle and returns all associated resources to the system.
|
||||
|
||||
@param This Indicates the EFI_SECTION_EXTRACTION_PROTOCOL instance.
|
||||
@param This Indicates the EFI_SECTION_EXTRACTION_PROTOCOL instance.
|
||||
@param SectionStreamHandle Indicates the section stream to close.
|
||||
|
||||
@retval EFI_SUCCESS The SectionStream was successfully processed and
|
||||
@retval EFI_SUCCESS The SectionStream was successfully processed and
|
||||
the section stream handle was returned.
|
||||
|
||||
@retval EFI_INVALID_PARAMETER The SectionStreamHandle does not exist.
|
||||
|
||||
**/
|
||||
|
Reference in New Issue
Block a user