summaryrefslogtreecommitdiff
path: root/MdePkg/Library/PeiServicesTablePointerLib
diff options
context:
space:
mode:
authoryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-25 12:21:57 +0000
committeryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-25 12:21:57 +0000
commit42eedea958591087603bbacd1c2227d2494026af (patch)
tree2213bd86a2a23738bf9caeb10f48df6ad5a1986b /MdePkg/Library/PeiServicesTablePointerLib
parent0f82bd55142af193e669e76fcaf02f8d835f3f39 (diff)
downloadedk2-platforms-42eedea958591087603bbacd1c2227d2494026af.tar.xz
Code Scrub for MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5567 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/PeiServicesTablePointerLib')
-rw-r--r--MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c4
-rw-r--r--MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerInternal.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c b/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c
index 7e482b6df2..43293fb83c 100644
--- a/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c
+++ b/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c
@@ -18,7 +18,7 @@
#include "PeiServicesTablePointerInternal.h"
-static EFI_PEI_SERVICES **gPeiServices;
+STATIC EFI_PEI_SERVICES **gPeiServices;
/**
The function set the pointer of PEI services immediately preceding the IDT table
@@ -60,7 +60,7 @@ GetPeiServicesTablePointer (
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 FileHandle Handle of FFS header the loaded driver.
@param PeiServices Pointer to the PEI services.
@retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.
diff --git a/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerInternal.h b/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerInternal.h
index 32714b0892..f6d9efd10f 100644
--- a/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerInternal.h
+++ b/MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerInternal.h
@@ -14,13 +14,14 @@
#ifndef _PEI_SERVICE_TABLE_POINTER_INTERNAL_H_
#define _PEI_SERVICE_TABLE_POINTER_INTERNAL_H_
+
/**
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 FileHandle Handle of FFS header the loaded driver.
@param PeiServices Pointer to the PEI services.
@retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.