]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Pei/Ppi/Ppi.c
MdeModulePkg: Fix undefined reference to memcpy with XCODE5
[mirror_edk2.git] / MdeModulePkg / Core / Pei / Ppi / Ppi.c
index 541047d98a4a1423baa7a782e136ec403db109d5..0ad71d116fa58d1c67999fae38132a5cfa49fab9 100644 (file)
@@ -1062,7 +1062,7 @@ ProcessPpiListFromSec (
 VOID\r
 ConvertPeiCorePpiPointers (\r
   IN  PEI_CORE_INSTANCE        *PrivateData,\r
-  PEI_CORE_FV_HANDLE           CoreFvHandle\r
+  IN  PEI_CORE_FV_HANDLE       *CoreFvHandle\r
   )\r
 {\r
   EFI_FV_FILE_INFO      FileInfo;\r
@@ -1079,16 +1079,16 @@ ConvertPeiCorePpiPointers (
   //\r
   // Find the PEI Core in the BFV in temporary memory.\r
   //\r
-  Status =  CoreFvHandle.FvPpi->FindFileByType (\r
-                                  CoreFvHandle.FvPpi,\r
+  Status =  CoreFvHandle->FvPpi->FindFileByType (\r
+                                  CoreFvHandle->FvPpi,\r
                                   EFI_FV_FILETYPE_PEI_CORE,\r
-                                  CoreFvHandle.FvHandle,\r
+                                  CoreFvHandle->FvHandle,\r
                                   &PeiCoreFileHandle\r
                                   );\r
   ASSERT_EFI_ERROR (Status);\r
 \r
   if (!EFI_ERROR (Status)) {\r
-    Status = CoreFvHandle.FvPpi->GetFileInfo (CoreFvHandle.FvPpi, PeiCoreFileHandle, &FileInfo);\r
+    Status = CoreFvHandle->FvPpi->GetFileInfo (CoreFvHandle->FvPpi, PeiCoreFileHandle, &FileInfo);\r
     ASSERT_EFI_ERROR (Status);\r
 \r
     Status = PeiGetPe32Data (PeiCoreFileHandle, &PeiCoreImageBase);\r