summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointer.c
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-10 03:10:07 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-10 03:10:07 +0000
commitf38fdc749879ff6b9339fded2062e3dac46fa72d (patch)
treee289ee2ab60215685af2daa102681f68f2936e5b /MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointer.c
parent753f9e6948b189c19f3801793d3be1b1687b319b (diff)
downloadedk2-f38fdc749879ff6b9339fded2062e3dac46fa72d.tar.gz
edk2-f38fdc749879ff6b9339fded2062e3dac46fa72d.tar.bz2
edk2-f38fdc749879ff6b9339fded2062e3dac46fa72d.zip
Synchronize interface function comment from declaration in library class header file to implementation in library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6951 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointer.c')
-rw-r--r--MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointer.c29
1 files changed, 9 insertions, 20 deletions
diff --git a/MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointer.c b/MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointer.c
index 599e8f25aa..f2c29bdaa4 100644
--- a/MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointer.c
+++ b/MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointer.c
@@ -22,16 +22,12 @@
#include <Library/DebugLib.h>
/**
-
- The function returns the pointer to PeiServicee following
- PI1.0.
-
- For IA32, the four-bytes field immediately prior to new IDT
- base addres is used to save the EFI_PEI_SERVICES**.
- For x64, the eight-bytes field immediately prior to new IDT
- base addres is used to save the EFI_PEI_SERVICES**
-
- @return The pointer to PeiServices.
+ 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.
**/
CONST EFI_PEI_SERVICES **
@@ -50,17 +46,10 @@ GetPeiServicesTablePointer (
}
/**
+ The function set the pointer of PEI services immediately preceding the IDT table
+ according to PI specification.
- The function sets the pointer to PeiServicee following
- PI1.0.
-
- For IA32, the four-bytes field immediately prior to new IDT
- base addres is used to save the EFI_PEI_SERVICES**.
- For x64, the eight-bytes field immediately prior to new IDT
- base addres is used to save the EFI_PEI_SERVICES**
-
- @param PeiServicesTablePointer The pointer to PeiServices.
-
+ @param PeiServicesTablePointer The address of PeiServices pointer.
**/
VOID
EFIAPI