Source level security checked

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7518 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jji4 2009-02-13 05:16:31 +00:00
parent e67ca95c86
commit 2fead09fae
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,6 @@ PeiInstallPpi (
}
DEBUG((EFI_D_INFO, "Install PPI: %g\n", PpiList->Guid));
ASSERT (Index < FixedPcdGet32 (PcdPeiCoreMaxPpiSupported));
PrivateData->PpiData.PpiListPtrs[Index].Ppi = (EFI_PEI_PPI_DESCRIPTOR*) PpiList;
PrivateData->PpiData.PpiListEnd++;
@ -254,6 +253,7 @@ PeiReInstallPpi (
// Remove the old PPI from the database, add the new one.
//
DEBUG((EFI_D_INFO, "Reinstall PPI: %g\n", NewPpi->Guid));
ASSERT (Index < FixedPcdGet32 (PcdPeiCoreMaxPpiSupported));
PrivateData->PpiData.PpiListPtrs[Index].Ppi = (EFI_PEI_PPI_DESCRIPTOR *) NewPpi;
//