]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/FindFv.c
1) Sync EdkCompatibilityPkg with EDK 1.04. The changes includes:
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / Pei / PeiLib / FindFv.c
index fcff7a648de670587b3930507c8166867c2503d6..cbfad238bc2eaad1fed440d3510268cda23bba4c 100644 (file)
@@ -1,6 +1,6 @@
 /*++\r
 \r
-Copyright (c) 2006, Intel Corporation                                                         \r
+Copyright (c) 2006 - 2007, Intel Corporation                                                         \r
 All rights reserved. This program and the accompanying materials                          \r
 are licensed and made available under the terms and conditions of the BSD License         \r
 which accompanies this distribution.  The full text of the license may be found at        \r
@@ -29,7 +29,7 @@ Abstract:
 \r
 static\r
 VOID *\r
-GetHob (\r
+FindFvGetHob (\r
   IN UINT16  Type,\r
   IN VOID    *HobStart\r
   )\r
@@ -84,6 +84,7 @@ Returns:
 }\r
 \r
 EFI_STATUS\r
+EFIAPI\r
 FindFv (\r
   IN     EFI_FIND_FV_PPI             *This,\r
   IN     EFI_PEI_SERVICES            **PeiServices,\r
@@ -146,7 +147,7 @@ Returns:
   //\r
   while (FvIndex <= *FvNumber) {\r
     \r
-    Hob.Raw = GetHob (EFI_HOB_TYPE_FV, HobStart.Raw); \r
+    Hob.Raw = FindFvGetHob (EFI_HOB_TYPE_FV, HobStart.Raw); \r
     \r
     //\r
     //  If the Hob is not EFI_HOB_TYPE_FV, it indicates that\r