diff options
-rw-r--r-- | Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c b/Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c index 91ce7f6468..87ae3879a0 100644 --- a/Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c +++ b/Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c @@ -26,6 +26,7 @@ Abstract: #include <Library/DebugLib.h>
#include <Library/PeCoffLib.h>
#include <Library/HobLib.h>
+#include <Library/PeiServicesLib.h>
EFI_PEI_PE_COFF_LOADER_PROTOCOL *mPeiEfiPeiPeCoffLoader;
@@ -63,13 +64,12 @@ PeiNt32PeCoffLibConstructor ( //
// GuidHob is not ready, try to locate PeCoffLoader guid structure.
//
- Status = (*PeiServices)->LocatePpi (
- PeiServices,
- &gEfiPeiPeCoffLoaderGuid,
- 0,
- NULL,
- (VOID**)&mPeiEfiPeiPeCoffLoader
- );
+ Status = PeiServicesLocatePpi (
+ &gEfiPeiPeCoffLoaderGuid,
+ 0,
+ NULL,
+ (VOID**) &mPeiEfiPeiPeCoffLoader
+ );
//
// PeCofferLoader guid structure must be installed before this library runs.
|