]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Framework/Ppi/LoadFile/LoadFile.h
Add a work around Dummy.c file to avoid autogen error to GCC tool chain family.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Framework / Ppi / LoadFile / LoadFile.h
CommitLineData
3eb9473e 1/*++\r
2\r
3Copyright (c) 2004, Intel Corporation \r
4All rights reserved. This program and the accompanying materials \r
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13\r
14 LoadFile.h\r
15 \r
16Abstract:\r
17\r
18 Load image file from fv to memory. \r
19\r
20--*/\r
21\r
22#ifndef _PEI_FV_FILE_LOADER_PPI_H\r
23#define _PEI_FV_FILE_LOADER_PPI_H\r
24\r
25#define EFI_PEI_FV_FILE_LOADER_GUID \\r
26 { \\r
27 0x7e1f0d85, 0x4ff, 0x4bb2, 0x86, 0x6a, 0x31, 0xa2, 0x99, 0x6a, 0x48, 0xa8 \\r
28 }\r
29\r
30EFI_FORWARD_DECLARATION (EFI_PEI_FV_FILE_LOADER_PPI);\r
31\r
32typedef\r
33EFI_STATUS\r
34(EFIAPI *EFI_PEI_FV_LOAD_FILE) (\r
35 IN EFI_PEI_FV_FILE_LOADER_PPI * This,\r
36 IN EFI_FFS_FILE_HEADER * FfsHeader,\r
37 OUT EFI_PHYSICAL_ADDRESS * ImageAddress,\r
38 OUT UINT64 *ImageSize,\r
39 OUT EFI_PHYSICAL_ADDRESS * EntryPoint\r
40 );\r
41\r
8cdb2112 42struct _EFI_PEI_FV_FILE_LOADER_PPI {\r
3eb9473e 43 EFI_PEI_FV_LOAD_FILE FvLoadFile;\r
8cdb2112 44};\r
3eb9473e 45\r
46extern EFI_GUID gPeiFvFileLoaderPpiGuid;\r
47\r
48#endif\r