From 57209470294e60db5a6f0878efd432324af3154b Mon Sep 17 00:00:00 2001 From: jji4 Date: Fri, 5 Dec 2008 08:21:57 +0000 Subject: [PATCH] Comments have been checked with spec git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6868 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Library/ExtractGuidedSectionLib.h | 1 - .../DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c | 2 +- .../PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/MdePkg/Include/Library/ExtractGuidedSectionLib.h b/MdePkg/Include/Library/ExtractGuidedSectionLib.h index 003fc898ba..01e0ab1f8c 100644 --- a/MdePkg/Include/Library/ExtractGuidedSectionLib.h +++ b/MdePkg/Include/Library/ExtractGuidedSectionLib.h @@ -128,7 +128,6 @@ RETURN_STATUS allocated output buffer. @retval RETURN_SUCCESS The handlers were registered. - @retval RETURN_ALREADY_STARTED Handlers have already been registered for the GUID specified by SectionGuid. @retval RETURN_OUT_OF_RESOURCES There are not enough resources available to register the handlers. **/ diff --git a/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c b/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c index 9e9cc009ab..775c069609 100644 --- a/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c +++ b/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c @@ -99,6 +99,7 @@ ExtractGuidedSectionGetGuidList ( Registers the handlers specified by GetInfoHandler and DecodeHandler with the GUID specified by SectionGuid. If the GUID value specified by SectionGuid has already been registered, then return RETURN_ALREADY_STARTED. If there are not enough resources available to register the handlers then RETURN_OUT_OF_RESOURCES is returned. + If SectionGuid is NULL, then ASSERT(). If GetInfoHandler is NULL, then ASSERT(). If DecodeHandler is NULL, then ASSERT(). @@ -112,7 +113,6 @@ ExtractGuidedSectionGetGuidList ( allocated output buffer. @retval RETURN_SUCCESS The handlers were registered. - @retval RETURN_ALREADY_STARTED Handlers have already been registered for the GUID specified by SectionGuid. @retval RETURN_OUT_OF_RESOURCES There are not enough resources available to register the handlers. **/ diff --git a/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c b/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c index 24bea8a4d5..4da3d8afa1 100644 --- a/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c +++ b/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c @@ -180,7 +180,6 @@ ExtractGuidedSectionGetGuidList ( allocated output buffer. @retval RETURN_SUCCESS The handlers were registered. - @retval RETURN_ALREADY_STARTED Handlers have already been registered for the GUID specified by SectionGuid. @retval RETURN_OUT_OF_RESOURCES There are not enough resources available to register the handlers. **/