mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-25 14:44:28 +02:00
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:
parent
e67ca95c86
commit
2fead09fae
@ -167,7 +167,6 @@ PeiInstallPpi (
|
|||||||
}
|
}
|
||||||
|
|
||||||
DEBUG((EFI_D_INFO, "Install PPI: %g\n", PpiList->Guid));
|
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.PpiListPtrs[Index].Ppi = (EFI_PEI_PPI_DESCRIPTOR*) PpiList;
|
||||||
PrivateData->PpiData.PpiListEnd++;
|
PrivateData->PpiData.PpiListEnd++;
|
||||||
|
|
||||||
@ -254,6 +253,7 @@ PeiReInstallPpi (
|
|||||||
// Remove the old PPI from the database, add the new one.
|
// Remove the old PPI from the database, add the new one.
|
||||||
//
|
//
|
||||||
DEBUG((EFI_D_INFO, "Reinstall PPI: %g\n", NewPpi->Guid));
|
DEBUG((EFI_D_INFO, "Reinstall PPI: %g\n", NewPpi->Guid));
|
||||||
|
ASSERT (Index < FixedPcdGet32 (PcdPeiCoreMaxPpiSupported));
|
||||||
PrivateData->PpiData.PpiListPtrs[Index].Ppi = (EFI_PEI_PPI_DESCRIPTOR *) NewPpi;
|
PrivateData->PpiData.PpiListPtrs[Index].Ppi = (EFI_PEI_PPI_DESCRIPTOR *) NewPpi;
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user