summaryrefslogtreecommitdiff
path: root/MdePkg/Library
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library')
-rw-r--r--MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c2
-rw-r--r--MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c1
2 files changed, 1 insertions, 2 deletions
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.
**/