]>
Commit | Line | Data |
---|---|---|
3eb9473e | 1 | /*++\r |
2 | \r | |
f57387d5 HT |
3 | Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>\r |
4 | This program and the accompanying materials \r | |
3eb9473e | 5 | are licensed and made available under the terms and conditions of the BSD License \r |
6 | which accompanies this distribution. The full text of the license may be found at \r | |
7 | http://opensource.org/licenses/bsd-license.php \r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
11 | \r | |
12 | Module Name:\r | |
13 | \r | |
14 | LoadFile.h\r | |
15 | \r | |
16 | Abstract:\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 | |
7ccf38a3 | 27 | 0x7e1f0d85, 0x4ff, 0x4bb2, {0x86, 0x6a, 0x31, 0xa2, 0x99, 0x6a, 0x48, 0xa8} \\r |
3eb9473e | 28 | }\r |
29 | \r | |
30 | EFI_FORWARD_DECLARATION (EFI_PEI_FV_FILE_LOADER_PPI);\r | |
31 | \r | |
32 | typedef\r | |
33 | EFI_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 | 42 | struct _EFI_PEI_FV_FILE_LOADER_PPI {\r |
3eb9473e | 43 | EFI_PEI_FV_LOAD_FILE FvLoadFile;\r |
8cdb2112 | 44 | };\r |
3eb9473e | 45 | \r |
46 | extern EFI_GUID gPeiFvFileLoaderPpiGuid;\r | |
47 | \r | |
48 | #endif\r |