From 7eb2c64d34c8408960a736f299f75b4c0253d5f9 Mon Sep 17 00:00:00 2001 From: lgao4 Date: Tue, 19 Apr 2011 06:33:25 +0000 Subject: Update the description of Loaded Image Protocol Unload function to follow the UEFI2.3.1 Spec. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11560 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/UefiDriverEntryPoint/DriverEntryPoint.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'MdePkg') diff --git a/MdePkg/Library/UefiDriverEntryPoint/DriverEntryPoint.c b/MdePkg/Library/UefiDriverEntryPoint/DriverEntryPoint.c index b4ed987bf9..f5da5ac4ad 100644 --- a/MdePkg/Library/UefiDriverEntryPoint/DriverEntryPoint.c +++ b/MdePkg/Library/UefiDriverEntryPoint/DriverEntryPoint.c @@ -1,7 +1,7 @@ /** @file Entry point to a EFI/DXE driver. -Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
+Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -25,11 +25,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. /** - 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 - when unloading the driver. + Unloads an image from memory. - @param ImageHandle ImageHandle of the loaded driver. + This function is a callback that a driver registers to do cleanup + when the UnloadImage boot service function is called. + + @param ImageHandle The handle to the image to unload. @return Status returned by all unload(). -- cgit v1.2.3