]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg/PiSmmCis.h: SMM register protocol notify function clarify
authorJeff Fan <jeff.fan@intel.com>
Thu, 7 May 2015 02:28:56 +0000 (02:28 +0000)
committervanjeff <vanjeff@Edk2>
Thu, 7 May 2015 02:28:56 +0000 (02:28 +0000)
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 <jeff.fan@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17348 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Pi/PiSmmCis.h

index 26880b82e4361820e8b2235ffb28d5fd8d6cc4ec..66e2dd568d746b85e332355e2dd028377acaf8b6 100644 (file)
@@ -112,8 +112,9 @@ EFI_STATUS
   @param[in]  Function          Points to the notification function.\r
   @param[out] Registration      A pointer to a memory location to receive the registration value.\r
 \r
-  @retval EFI_SUCCESS           Successfully returned the registration record that has been added.\r
-  @retval EFI_INVALID_PARAMETER One or more of Protocol, Function and Registration is NULL.\r
+  @retval EFI_SUCCESS           Successfully returned the registration record\r
+                                that has been added or unhooked.\r
+  @retval EFI_INVALID_PARAMETER Protocol is NULL or Registration is NULL.\r
   @retval EFI_OUT_OF_RESOURCES  Not enough memory resource to finish the request.\r
   @retval EFI_NOT_FOUND         If the registration is not found when Function == NULL.\r
 **/\r