summaryrefslogtreecommitdiffstats
path: root/MdePkg
diff options
context:
space:
mode:
authorJeff Fan <jeff.fan@intel.com>2015-05-07 02:28:56 +0000
committervanjeff <vanjeff@Edk2>2015-05-07 02:28:56 +0000
commitcf1d73937d8b62dc5872da5c31d678bafafb2b87 (patch)
tree746c706014e1355bf782f82138eebcd5fc0f7053 /MdePkg
parenta301e4a902c3003e8839392a9b5e041982db9884 (diff)
downloadedk2-cf1d73937d8b62dc5872da5c31d678bafafb2b87.tar.gz
edk2-cf1d73937d8b62dc5872da5c31d678bafafb2b87.tar.bz2
edk2-cf1d73937d8b62dc5872da5c31d678bafafb2b87.zip
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 <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
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/Pi/PiSmmCis.h5
1 files 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.
**/