From f0a8eeb2c5fb31081414f74431aa54e5383f5708 Mon Sep 17 00:00:00 2001 From: jji4 Date: Mon, 9 Feb 2009 03:28:44 +0000 Subject: [PATCH] Comments synchronized git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7480 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Library/UefiLib.h | 10 ++++++---- MdePkg/Library/UefiLib/UefiLib.c | 10 ++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/MdePkg/Include/Library/UefiLib.h b/MdePkg/Include/Library/UefiLib.h index 354cf3192c..5670b2a39f 100644 --- a/MdePkg/Include/Library/UefiLib.h +++ b/MdePkg/Include/Library/UefiLib.h @@ -138,15 +138,17 @@ EfiGetSystemConfigurationTable ( instances specified by ProtocolGuid. This function causes the notification function to be executed for every protocol of type - ProtocolGuid instance that exists in the system when this function is invoked. - In addition, every time a protocol of type ProtocolGuid instance is installed or reinstalled, - the notification function is also executed. This function returns the notification event - that was created. + ProtocolGuid instance that exists in the system when this function is invoked. If there are + no instances of ProtocolGuid in the handle database at the time this function is invoked, + then the notification function is still executed one time. In addition, every time a protocol + of type ProtocolGuid instance is installed or reinstalled, the notification function is also + executed. This function returns the notification event that was created. If ProtocolGuid is NULL, then ASSERT(). If NotifyTpl is not a legal TPL value, then ASSERT(). If NotifyFunction is NULL, then ASSERT(). If Registration is NULL, then ASSERT(). + @param ProtocolGuid Supplies GUID of the protocol upon whose installation the event is fired. @param NotifyTpl Supplies the task priority level of the event notifications. @param NotifyFunction Supplies the function to notify when the event is signaled. diff --git a/MdePkg/Library/UefiLib/UefiLib.c b/MdePkg/Library/UefiLib/UefiLib.c index e515c12357..c0b4faa32c 100644 --- a/MdePkg/Library/UefiLib/UefiLib.c +++ b/MdePkg/Library/UefiLib/UefiLib.c @@ -92,15 +92,17 @@ EfiGetSystemConfigurationTable ( instances specified by ProtocolGuid. This function causes the notification function to be executed for every protocol of type - ProtocolGuid instance that exists in the system when this function is invoked. - In addition, every time a protocol of type ProtocolGuid instance is installed or reinstalled, - the notification function is also executed. This function returns the notification event - that was created. + ProtocolGuid instance that exists in the system when this function is invoked. If there are + no instances of ProtocolGuid in the handle database at the time this function is invoked, + then the notification function is still executed one time. In addition, every time a protocol + of type ProtocolGuid instance is installed or reinstalled, the notification function is also + executed. This function returns the notification event that was created. If ProtocolGuid is NULL, then ASSERT(). If NotifyTpl is not a legal TPL value, then ASSERT(). If NotifyFunction is NULL, then ASSERT(). If Registration is NULL, then ASSERT(). + @param ProtocolGuid Supplies GUID of the protocol upon whose installation the event is fired. @param NotifyTpl Supplies the task priority level of the event notifications. @param NotifyFunction Supplies the function to notify when the event is signaled.