diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-07-13 01:17:21 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-07-13 01:17:21 +0000 |
commit | a42b18207605f9614c19bf4887aa479f38b2ef33 (patch) | |
tree | 89820b26c7490b7995081a837f9322ec8a79f63a /MdePkg/Library/PeiServicesTablePointerLib | |
parent | da1508dd532e99dcf1818655bf37ec0bfa1e5ca6 (diff) | |
download | edk2-a42b18207605f9614c19bf4887aa479f38b2ef33.tar.gz edk2-a42b18207605f9614c19bf4887aa479f38b2ef33.tar.bz2 edk2-a42b18207605f9614c19bf4887aa479f38b2ef33.zip |
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/PeiServicesTablePointerLib')
-rw-r--r-- | MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c b/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c index b4c13c850b..18d8c99b44 100644 --- a/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c +++ b/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c @@ -18,6 +18,15 @@ static EFI_PEI_SERVICES **gPeiServices;
+/**
+ The function returns the pointer to PEI services.
+
+ The function returns the pointer to PEI services.
+ It will ASSERT() if the pointer to PEI services is NULL.
+
+ @retval The pointer to PeiServices.
+
+**/
EFI_PEI_SERVICES **
GetPeiServicesTablePointer (
VOID
@@ -27,7 +36,18 @@ GetPeiServicesTablePointer ( return gPeiServices;
}
+
/**
+ The constructor function caches the pointer to PEI services.
+
+ The constructor function caches the pointer to PEI services.
+ It will always return EFI_SUCCESS.
+
+ @param FfsHeader Pointer to FFS header the loaded driver.
+ @param PeiServices Pointer to the PEI services.
+
+ @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.
+
**/
EFI_STATUS
PeiServicesTablePointerLibConstructor (
|