]>
Commit | Line | Data |
---|---|---|
f51461c8 | 1 | /** @file\r |
97fa0ee9 | 2 | Header file for GenFw\r |
f51461c8 | 3 | \r |
97fa0ee9 | 4 | Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>\r |
f51461c8 LG |
5 | \r |
6 | This program and the accompanying materials are licensed and made available \r | |
7 | under the terms and conditions of the BSD License which accompanies this \r | |
8 | distribution. The full text of the license may be found at \r | |
9 | http://opensource.org/licenses/bsd-license.php\r | |
10 | \r | |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | \r | |
14 | **/\r | |
15 | \r | |
16 | #ifndef _GEN_FW_H_\r | |
17 | #define _GEN_FW_H_\r | |
18 | \r | |
19 | //\r | |
20 | // Action for this tool.\r | |
21 | //\r | |
22 | #define FW_DUMMY_IMAGE 0\r | |
23 | #define FW_EFI_IMAGE 1\r | |
24 | #define FW_TE_IMAGE 2\r | |
25 | #define FW_ACPI_IMAGE 3\r | |
26 | #define FW_BIN_IMAGE 4\r | |
27 | #define FW_ZERO_DEBUG_IMAGE 5\r | |
28 | #define FW_SET_STAMP_IMAGE 6\r | |
29 | #define FW_MCI_IMAGE 7\r | |
30 | #define FW_MERGE_IMAGE 8\r | |
31 | #define FW_RELOC_STRIPEED_IMAGE 9\r | |
32 | #define FW_HII_PACKAGE_LIST_RCIMAGE 10\r | |
33 | #define FW_HII_PACKAGE_LIST_BINIMAGE 11\r | |
34 | #define FW_REBASE_IMAGE 12\r | |
35 | #define FW_SET_ADDRESS_IMAGE 13\r | |
36 | \r | |
37 | #define DUMP_TE_HEADER 0x11\r | |
38 | \r | |
39 | VOID\r | |
40 | SetHiiResourceHeader (\r | |
41 | UINT8 *HiiBinData,\r | |
42 | UINT32 OffsetToFile\r | |
43 | );\r | |
44 | \r | |
45 | INTN\r | |
46 | IsElfHeader (\r | |
47 | UINT8 *FileBuffer\r | |
48 | );\r | |
49 | \r | |
50 | BOOLEAN\r | |
51 | ConvertElf (\r | |
52 | UINT8 **FileBuffer,\r | |
53 | UINT32 *FileLength\r | |
54 | );\r | |
55 | \r | |
56 | #endif\r |