summaryrefslogtreecommitdiffstats
path: root/MdePkg
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2011-04-19 06:33:25 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2011-04-19 06:33:25 +0000
commit7eb2c64d34c8408960a736f299f75b4c0253d5f9 (patch)
treea5c178e25cb47531db0ed5d2b92ef082545fda3c /MdePkg
parent0269d14b827cb4cfa57587e8c06b9f87e7571dbe (diff)
downloadedk2-7eb2c64d34c8408960a736f299f75b4c0253d5f9.tar.gz
edk2-7eb2c64d34c8408960a736f299f75b4c0253d5f9.tar.bz2
edk2-7eb2c64d34c8408960a736f299f75b4c0253d5f9.zip
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
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Library/UefiDriverEntryPoint/DriverEntryPoint.c11
1 files changed, 6 insertions, 5 deletions
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.<BR>
+Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
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().