From 8c8a13bf5c03471e9095d9d8312033d3c874c973 Mon Sep 17 00:00:00 2001 From: yshang1 Date: Tue, 23 Jan 2007 09:36:01 +0000 Subject: 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 --- .../UefiDriverEntryPoint/DriverEntryPoint.c | 32 ++++++++-------------- 1 file changed, 12 insertions(+), 20 deletions(-) (limited to 'MdePkg/Library') 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; -- cgit v1.2.3