summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authoryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>2006-08-14 03:33:32 +0000
committeryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>2006-08-14 03:33:32 +0000
commitb059e41102f8cd07a9704d67777b9620adf6aa12 (patch)
treec23f902792b3cfedae27dd389b0261f1b9dfceac /MdePkg
parentf496b9b5ce1dfdf5ee111c24de96529ee0c4708f (diff)
downloadedk2-platforms-b059e41102f8cd07a9704d67777b9620adf6aa12.tar.xz
Add function headers in UefiDriverModuleLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1244 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Library/UefiDriverModelLib/UefiDriverModelLib.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/MdePkg/Library/UefiDriverModelLib/UefiDriverModelLib.c b/MdePkg/Library/UefiDriverModelLib/UefiDriverModelLib.c
index 9b96f28fb1..17d20b79a2 100644
--- a/MdePkg/Library/UefiDriverModelLib/UefiDriverModelLib.c
+++ b/MdePkg/Library/UefiDriverModelLib/UefiDriverModelLib.c
@@ -10,13 +10,20 @@
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
- Module Name: EfiDriverModelLib.c
+ Module Name: UefiDriverModelLib.c
**/
/**
+ The constructor function installs the standard EFI Driver Model Protocols.
+
+ @param[in] ImageHandle The firmware allocated handle for the EFI image.
+ @param[in] SystemTable A pointer to the EFI System Table.
+
+ @retval EFI_SUCCESS The constructor always return EFI_SUCCESS.
+
**/
EFI_STATUS
UefiDriverModelLibConstructor (
@@ -221,6 +228,13 @@ UefiDriverModelLibConstructor (
}
/**
+ The destructor function uninstalls the standard EFI Driver Model Protocols.
+
+ @param[in] ImageHandle The firmware allocated handle for the EFI image.
+ @param[in] SystemTable A pointer to the EFI System Table.
+
+ @retval EFI_SUCCESS The constructor always return EFI_SUCCESS.
+
**/
EFI_STATUS
UefiDriverModelLibDestructor (