summaryrefslogtreecommitdiff
path: root/MdePkg/Library/UefiBootServicesTableLib
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-13 01:17:21 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-13 01:17:21 +0000
commita42b18207605f9614c19bf4887aa479f38b2ef33 (patch)
tree89820b26c7490b7995081a837f9322ec8a79f63a /MdePkg/Library/UefiBootServicesTableLib
parentda1508dd532e99dcf1818655bf37ec0bfa1e5ca6 (diff)
downloadedk2-platforms-a42b18207605f9614c19bf4887aa479f38b2ef33.tar.xz
added function header
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@935 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/UefiBootServicesTableLib')
-rw-r--r--MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.c b/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.c
index aa990f7fdf..b45d12debf 100644
--- a/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.c
+++ b/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.c
@@ -19,6 +19,18 @@ EFI_SYSTEM_TABLE *gST;
EFI_BOOT_SERVICES *gBS;
/**
+ The constructor function caches the pointer of Boot Services Table.
+
+ The constructor function caches the pointer of Boot Services Table through System Table.
+ It will ASSERT() if the pointer of System Table is NULL.
+ It will ASSERT() if the pointer of Boot Services Table is NULL.
+ It will always return EFI_SUCCESS.
+
+ @param ImageHandle The firmware allocated handle for the EFI image.
+ @param SystemTable A pointer to the EFI System Table.
+
+ @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.
+
**/
EFI_STATUS
UefiBootServicesTableLibConstructor (