diff options
Diffstat (limited to 'MdePkg/Library/UefiDriverModelLib')
-rw-r--r-- | MdePkg/Library/UefiDriverModelLib/UefiDriverModelLib.c | 16 |
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 (
|