X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EdkCompatibilityPkg%2FFoundation%2FLibrary%2FPei%2FPeiLib%2FFindFv.c;h=3a8da83ecad286801164bb865eb250414f6a149b;hp=fcff7a648de670587b3930507c8166867c2503d6;hb=4ea9375a2d02a43671437e0d3d808d85afb30afa;hpb=3eb9473ea9a949badfe06ae61d2d3fcfa53651c7 diff --git a/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/FindFv.c b/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/FindFv.c index fcff7a648d..3a8da83eca 100644 --- a/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/FindFv.c +++ b/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/FindFv.c @@ -1,7 +1,7 @@ /*++ -Copyright (c) 2006, Intel Corporation -All rights reserved. This program and the accompanying materials +Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
+This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php @@ -29,7 +29,7 @@ Abstract: static VOID * -GetHob ( +FindFvGetHob ( IN UINT16 Type, IN VOID *HobStart ) @@ -84,6 +84,7 @@ Returns: } EFI_STATUS +EFIAPI FindFv ( IN EFI_FIND_FV_PPI *This, IN EFI_PEI_SERVICES **PeiServices, @@ -133,7 +134,7 @@ Returns: // Status = (*PeiServices)->GetHobList ( PeiServices, - &HobStart.Raw + (VOID **) &HobStart.Raw ); if (EFI_ERROR (Status)) { @@ -146,7 +147,7 @@ Returns: // while (FvIndex <= *FvNumber) { - Hob.Raw = GetHob (EFI_HOB_TYPE_FV, HobStart.Raw); + Hob.Raw = FindFvGetHob (EFI_HOB_TYPE_FV, HobStart.Raw); // // If the Hob is not EFI_HOB_TYPE_FV, it indicates that