From cf1d73937d8b62dc5872da5c31d678bafafb2b87 Mon Sep 17 00:00:00 2001 From: Jeff Fan Date: Thu, 7 May 2015 02:28:56 +0000 Subject: [PATCH] MdePkg/PiSmmCis.h: SMM register protocol notify function clarify PI 1.4 clarified SMM register protocol notify function return status as below: EFI_SUCCESS Successfully returned the registration record that has been added or unhooked EFI_INVALID_PARAMETER Protocol is NULL or Registration is NULL Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan Reviewed-by: Liming Gao git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17348 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Pi/PiSmmCis.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/MdePkg/Include/Pi/PiSmmCis.h b/MdePkg/Include/Pi/PiSmmCis.h index 26880b82e4..66e2dd568d 100644 --- a/MdePkg/Include/Pi/PiSmmCis.h +++ b/MdePkg/Include/Pi/PiSmmCis.h @@ -112,8 +112,9 @@ EFI_STATUS @param[in] Function Points to the notification function. @param[out] Registration A pointer to a memory location to receive the registration value. - @retval EFI_SUCCESS Successfully returned the registration record that has been added. - @retval EFI_INVALID_PARAMETER One or more of Protocol, Function and Registration is NULL. + @retval EFI_SUCCESS Successfully returned the registration record + that has been added or unhooked. + @retval EFI_INVALID_PARAMETER Protocol is NULL or Registration is NULL. @retval EFI_OUT_OF_RESOURCES Not enough memory resource to finish the request. @retval EFI_NOT_FOUND If the registration is not found when Function == NULL. **/