mirror of https://github.com/acidanthera/audk.git
Use apply PeiServicesLib to locate PPI
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7504 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
4cfc3293c7
commit
d84dbca50e
|
@ -26,6 +26,7 @@ Abstract:
|
||||||
#include <Library/DebugLib.h>
|
#include <Library/DebugLib.h>
|
||||||
#include <Library/PeCoffLib.h>
|
#include <Library/PeCoffLib.h>
|
||||||
#include <Library/HobLib.h>
|
#include <Library/HobLib.h>
|
||||||
|
#include <Library/PeiServicesLib.h>
|
||||||
|
|
||||||
EFI_PEI_PE_COFF_LOADER_PROTOCOL *mPeiEfiPeiPeCoffLoader;
|
EFI_PEI_PE_COFF_LOADER_PROTOCOL *mPeiEfiPeiPeCoffLoader;
|
||||||
|
|
||||||
|
@ -63,8 +64,7 @@ PeiNt32PeCoffLibConstructor (
|
||||||
//
|
//
|
||||||
// GuidHob is not ready, try to locate PeCoffLoader guid structure.
|
// GuidHob is not ready, try to locate PeCoffLoader guid structure.
|
||||||
//
|
//
|
||||||
Status = (*PeiServices)->LocatePpi (
|
Status = PeiServicesLocatePpi (
|
||||||
PeiServices,
|
|
||||||
&gEfiPeiPeCoffLoaderGuid,
|
&gEfiPeiPeCoffLoaderGuid,
|
||||||
0,
|
0,
|
||||||
NULL,
|
NULL,
|
||||||
|
|
Loading…
Reference in New Issue