• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*++
2 
3 Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>
4 This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution.  The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8 
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11 
12 Module Name:
13 
14  FindFv.h
15 
16 Abstract:
17 
18   FindFv PPI as defined in Tiano
19 
20   Used to locate FVs that contain PEIMs in PEI
21 
22 --*/
23 
24 #ifndef _FIND_FV_H_
25 #define _FIND_FV_H_
26 
27 #include "EfiFirmwareVolumeHeader.h"
28 
29 #define EFI_FIND_FV_PPI_GUID \
30   { \
31     0x36164812, 0xa023, 0x44e5, {0xbd, 0x85, 0x5, 0xbf, 0x3c, 0x77, 0x0, 0xaa} \
32   }
33 
34 EFI_FORWARD_DECLARATION (EFI_FIND_FV_PPI);
35 
36 typedef
37 EFI_STATUS
38 (EFIAPI *EFI_FIND_FV_FINDFV) (
39   IN EFI_FIND_FV_PPI          * This,
40   IN EFI_PEI_SERVICES         **PeiServices,
41   UINT8                       *FvNumber,
42   EFI_FIRMWARE_VOLUME_HEADER  **FVAddress
43   );
44 
45 struct _EFI_FIND_FV_PPI {
46   EFI_FIND_FV_FINDFV  FindFv;
47 };
48 
49 extern EFI_GUID gEfiFindFvPpiGuid;
50 
51 #endif
52