mirror of https://github.com/acidanthera/audk.git
Apply PeiServicesLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7273 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
c89914c816
commit
de13f2451d
|
@ -68,8 +68,7 @@ Returns:
|
|||
//
|
||||
// Get the PEI UNIX Autoscan PPI
|
||||
//
|
||||
Status = (**PeiServices).LocatePpi (
|
||||
PeiServices,
|
||||
Status = PeiServicesLocatePpi (
|
||||
&gPeiUnixAutoScanPpiGuid, // GUID
|
||||
0, // INSTANCE
|
||||
&PpiDescriptor, // EFI_PEI_PPI_DESCRIPTOR
|
||||
|
@ -80,8 +79,7 @@ Returns:
|
|||
//
|
||||
// Get the Memory Test PPI
|
||||
//
|
||||
Status = (**PeiServices).LocatePpi (
|
||||
PeiServices,
|
||||
Status = PeiServicesLocatePpi (
|
||||
&gPeiBaseMemoryTestPpiGuid,
|
||||
0,
|
||||
NULL,
|
||||
|
@ -120,7 +118,7 @@ Returns:
|
|||
//
|
||||
// Register the "tested" memory with the PEI Core
|
||||
//
|
||||
Status = (**PeiServices).InstallPeiMemory (PeiServices, MemoryBase, MemorySize);
|
||||
Status = PeiServicesInstallPeiMemory (MemoryBase, MemorySize);
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
|
||||
Attributes |= EFI_RESOURCE_ATTRIBUTE_TESTED;
|
||||
|
|
Loading…
Reference in New Issue