3 Copyright (c) 2004, Intel Corporation
4 All rights reserved. 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
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.
18 Load image file from fv to memory.
22 #ifndef _PEI_FV_FILE_LOADER_PPI_H
23 #define _PEI_FV_FILE_LOADER_PPI_H
25 #define EFI_PEI_FV_FILE_LOADER_GUID \
27 0x7e1f0d85, 0x4ff, 0x4bb2, 0x86, 0x6a, 0x31, 0xa2, 0x99, 0x6a, 0x48, 0xa8 \
30 EFI_FORWARD_DECLARATION (EFI_PEI_FV_FILE_LOADER_PPI
);
34 (EFIAPI
*EFI_PEI_FV_LOAD_FILE
) (
35 IN EFI_PEI_FV_FILE_LOADER_PPI
* This
,
36 IN EFI_FFS_FILE_HEADER
* FfsHeader
,
37 OUT EFI_PHYSICAL_ADDRESS
* ImageAddress
,
38 OUT UINT64
*ImageSize
,
39 OUT EFI_PHYSICAL_ADDRESS
* EntryPoint
42 typedef struct _EFI_PEI_FV_FILE_LOADER_PPI
{
43 EFI_PEI_FV_LOAD_FILE FvLoadFile
;
44 } EFI_PEI_FV_FILE_LOADER_PPI
;
46 extern EFI_GUID gPeiFvFileLoaderPpiGuid
;