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