summaryrefslogtreecommitdiff
path: root/MdePkg/Library
diff options
context:
space:
mode:
authoryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-23 09:36:01 +0000
committeryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-23 09:36:01 +0000
commit8c8a13bf5c03471e9095d9d8312033d3c874c973 (patch)
treef66bd7e89e58a0e6a82edbeb8de81476141ce4dd /MdePkg/Library
parentf176220269d1ae88a7a2dceba426153013351f35 (diff)
downloadedk2-platforms-8c8a13bf5c03471e9095d9d8312033d3c874c973.tar.xz
Updated the function comments in UefiDriverEntryLib to fix EDKT502.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2284 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library')
-rw-r--r--MdePkg/Library/UefiDriverEntryPoint/DriverEntryPoint.c32
1 files changed, 12 insertions, 20 deletions
diff --git a/MdePkg/Library/UefiDriverEntryPoint/DriverEntryPoint.c b/MdePkg/Library/UefiDriverEntryPoint/DriverEntryPoint.c
index cd096c59b5..57b6a755b2 100644
--- a/MdePkg/Library/UefiDriverEntryPoint/DriverEntryPoint.c
+++ b/MdePkg/Library/UefiDriverEntryPoint/DriverEntryPoint.c
@@ -12,6 +12,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
+
+EFI_EVENT _mDriverExitBootServicesNotifyEvent;
+
/**
Unload function that is registered in the LoadImage protocol. It un-installs
protocols produced and deallocates pool used by the driver. Called by the core
@@ -22,9 +25,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
@retval EFI_SUCCESS
**/
-
-EFI_EVENT _mDriverExitBootServicesNotifyEvent;
-
EFI_STATUS
EFIAPI
_DriverUnloadHandler (
@@ -61,29 +61,21 @@ _DriverUnloadHandler (
return Status;
}
+
+/**
+ Notification Entry of ExitBootService event. In the entry, all notifications in _gDriverExitBootServicesEvent[]
+ would be invoked.
+
+ @param Event The Event that is being processed.
+ @param Context Event Context.
+
+**/
VOID
EFIAPI
_DriverExitBootServices (
IN EFI_EVENT Event,
IN VOID *Context
)
-/*++
-
-Routine Description:
-
- Set AtRuntime flag as TRUE after ExitBootServices
-
-Arguments:
-
- Event - The Event that is being processed
-
- Context - Event Context
-
-Returns:
-
- None
-
---*/
{
EFI_EVENT_NOTIFY ChildNotifyEventHandler;
UINTN Index;