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
@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