]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Core/Pei/Image/Image.c
1. Rename PeiCoreLib to PeiServicesLib and rename all the interfaces from PeiCoreXXX...
[mirror_edk2.git] / EdkModulePkg / Core / Pei / Image / Image.c
index 42ecc862fd8f803a5d9a9ae6d408b0a5a99227a7..8fd71976366866da68bab0ca0490f6313dc326cc 100644 (file)
@@ -65,7 +65,7 @@ Returns:
   //\r
   // Try to find a PE32 section.\r
   //\r
-  Status = PeiCoreFfsFindSectionData (\r
+  Status = PeiServicesFfsFindSectionData (\r
              EFI_SECTION_PE32,\r
              PeimFileHeader,\r
              &Pe32Data\r
@@ -74,7 +74,7 @@ Returns:
   // If we didn't find a PE32 section, try to find a TE section.\r
   //\r
   if (EFI_ERROR (Status)) {\r
-    Status = PeiCoreFfsFindSectionData (\r
+    Status = PeiServicesFfsFindSectionData (\r
                EFI_SECTION_TE,\r
                PeimFileHeader,\r
                (VOID **) &TEImageHeader\r
@@ -84,7 +84,7 @@ Returns:
       // There was not a PE32 or a TE section, so assume that it's a Compressed section\r
       // and use the LoadFile\r
       //\r
-      Status = PeiCoreLocatePpi (\r
+      Status = PeiServicesLocatePpi (\r
                 &gEfiPeiFvFileLoaderPpiGuid,\r
                 0,\r
                 NULL,\r