diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-08-08 03:05:03 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-08-08 03:05:03 +0000 |
commit | 731bd38eacd731a46fc876d4f6fa5832778aba66 (patch) | |
tree | 32a858ef15a8ce19d4a5229c57850219859e2d5b /MdeModulePkg/Core/Pei/Ppi | |
parent | 15273993817c9996395e08768f7a8b37e45fe1cc (diff) | |
download | edk2-platforms-731bd38eacd731a46fc876d4f6fa5832778aba66.tar.xz |
Add more comments for PeiCore.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5618 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core/Pei/Ppi')
-rw-r--r-- | MdeModulePkg/Core/Pei/Ppi/Ppi.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/MdeModulePkg/Core/Pei/Ppi/Ppi.c b/MdeModulePkg/Core/Pei/Ppi/Ppi.c index 0649859f3e..c121c52064 100644 --- a/MdeModulePkg/Core/Pei/Ppi/Ppi.c +++ b/MdeModulePkg/Core/Pei/Ppi/Ppi.c @@ -41,8 +41,10 @@ InitializePpiServices ( Migrate the Hob list from the CAR stack to PEI installed memory.
@param PrivateData Pointer to PeiCore's private data structure.
- @param OldCheckingBottom The old checking bottom.
- @param OldCheckingTop The old checking top.
+ @param OldCheckingBottom Bottom of temporary memory range. All Ppi in this range
+ will be fixup for PpiData and PpiDescriptor pointer.
+ @param OldCheckingTop Top of temporary memory range. All Ppi in this range
+ will be fixup for PpiData and PpiDescriptor.
@param Fixup The address difference between
the new Hob list and old Hob list.
@@ -114,7 +116,7 @@ ConvertPpiPointers ( @retval EFI_SUCCESS if all PPIs in PpiList are successfully installed.
@retval EFI_INVALID_PARAMETER if PpiList is NULL pointer
- @retval EFI_INVALID_PARAMETER if any PPI in PpiList is not valid
+ if any PPI in PpiList is not valid
@retval EFI_OUT_OF_RESOURCES if there is no more memory resource to install PPI
**/
@@ -147,7 +149,7 @@ PeiInstallPpi ( for (;;) {
//
- // Since PpiData is used for NotifyList and InstallList, max resource
+ // Since PpiData is used for NotifyList and PpiList, max resource
// is reached if the Install reaches the NotifyList
//
if (Index == PrivateData->PpiData.NotifyListEnd + 1) {
|