From 731bd38eacd731a46fc876d4f6fa5832778aba66 Mon Sep 17 00:00:00 2001 From: klu2 Date: Fri, 8 Aug 2008 03:05:03 +0000 Subject: Add more comments for PeiCore. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5618 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Core/Pei/Ppi/Ppi.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'MdeModulePkg/Core/Pei/Ppi') 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) { -- cgit v1.2.3