summaryrefslogtreecommitdiff
path: root/MdePkg/Library/PeiServicesTablePointerLibMm7
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/PeiServicesTablePointerLibMm7')
-rw-r--r--MdePkg/Library/PeiServicesTablePointerLibMm7/PeiServicesTablePointer.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/MdePkg/Library/PeiServicesTablePointerLibMm7/PeiServicesTablePointer.c b/MdePkg/Library/PeiServicesTablePointerLibMm7/PeiServicesTablePointer.c
index f5faf63086..5901527ada 100644
--- a/MdePkg/Library/PeiServicesTablePointerLibMm7/PeiServicesTablePointer.c
+++ b/MdePkg/Library/PeiServicesTablePointerLibMm7/PeiServicesTablePointer.c
@@ -15,7 +15,15 @@
**/
+/**
+ The function returns the pointer to PeiServices.
+
+ The function returns the pointer to PeiServices.
+ It will ASSERT() if the pointer to PeiServices is NULL.
+
+ @retval The pointer to PeiServices.
+**/
EFI_PEI_SERVICES **
GetPeiServicesTablePointer (
VOID
@@ -29,6 +37,16 @@ GetPeiServicesTablePointer (
}
/**
+ 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 (