]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/FindFv.c
Update the copyright notice format
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / Pei / PeiLib / FindFv.c
index fcff7a648de670587b3930507c8166867c2503d6..3a8da83ecad286801164bb865eb250414f6a149b 100644 (file)
@@ -1,7 +1,7 @@
 /*++\r
 \r
-Copyright (c) 2006, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \r
+Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
+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
 http://opensource.org/licenses/bsd-license.php                                            \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
@@ -133,7 +134,7 @@ Returns:
   //\r
   Status = (*PeiServices)->GetHobList (\r
                             PeiServices,\r
-                            &HobStart.Raw\r
+                            (VOID **) &HobStart.Raw\r
                             );\r
 \r
   if (EFI_ERROR (Status)) {\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