EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index
Defines | Functions

BaseTools/Source/C/GenFw/GenFw.h File Reference

Go to the source code of this file.

Defines

#define FW_DUMMY_IMAGE   0
#define FW_EFI_IMAGE   1
#define FW_TE_IMAGE   2
#define FW_ACPI_IMAGE   3
#define FW_BIN_IMAGE   4
#define FW_ZERO_DEBUG_IMAGE   5
#define FW_SET_STAMP_IMAGE   6
#define FW_MCI_IMAGE   7
#define FW_MERGE_IMAGE   8
#define FW_RELOC_STRIPEED_IMAGE   9
#define FW_HII_PACKAGE_LIST_RCIMAGE   10
#define FW_HII_PACKAGE_LIST_BINIMAGE   11
#define FW_REBASE_IMAGE   12
#define FW_SET_ADDRESS_IMAGE   13
#define DUMP_TE_HEADER   0x11

Functions

VOID SetHiiResourceHeader (UINT8 *HiiBinData, UINT32 OffsetToFile)
INTN IsElfHeader (UINT8 *FileBuffer)
BOOLEAN ConvertElf (UINT8 **FileBuffer, UINT32 *FileLength)

Detailed Description

Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.

This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

Definition in file GenFw.h.


Define Documentation

#define DUMP_TE_HEADER   0x11

Definition at line 36 of file GenFw.h.

#define FW_ACPI_IMAGE   3

Definition at line 24 of file GenFw.h.

#define FW_BIN_IMAGE   4

Definition at line 25 of file GenFw.h.

#define FW_DUMMY_IMAGE   0

Definition at line 21 of file GenFw.h.

#define FW_EFI_IMAGE   1

Definition at line 22 of file GenFw.h.

#define FW_HII_PACKAGE_LIST_BINIMAGE   11

Definition at line 32 of file GenFw.h.

#define FW_HII_PACKAGE_LIST_RCIMAGE   10

Definition at line 31 of file GenFw.h.

#define FW_MCI_IMAGE   7

Definition at line 28 of file GenFw.h.

#define FW_MERGE_IMAGE   8

Definition at line 29 of file GenFw.h.

#define FW_REBASE_IMAGE   12

Definition at line 33 of file GenFw.h.

#define FW_RELOC_STRIPEED_IMAGE   9

Definition at line 30 of file GenFw.h.

#define FW_SET_ADDRESS_IMAGE   13

Definition at line 34 of file GenFw.h.

#define FW_SET_STAMP_IMAGE   6

Definition at line 27 of file GenFw.h.

#define FW_TE_IMAGE   2

Definition at line 23 of file GenFw.h.

#define FW_ZERO_DEBUG_IMAGE   5

Definition at line 26 of file GenFw.h.


Function Documentation

BOOLEAN ConvertElf ( UINT8 **  FileBuffer,
UINT32 FileLength 
)

Definition at line 162 of file ElfConvert.c.

INTN IsElfHeader ( UINT8 FileBuffer)

Definition at line 151 of file ElfConvert.c.

VOID SetHiiResourceHeader ( UINT8 HiiBinData,
UINT32  OffsetToFile 
)

Definition at line 455 of file GenFw.c.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines