3 Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials are licensed and made available
6 under the terms and conditions of the BSD License which accompanies this
7 distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #ifndef _ELF_CONVERT_H_
16 #define _ELF_CONVERT_H_
18 #include "elf_common.h"
23 // Externally defined variables
25 extern UINT32 mCoffOffset
;
26 extern CHAR8
*mInImageName
;
27 extern UINT32 mImageTimeStamp
;
28 extern UINT8
*mCoffFile
;
29 extern UINT32 mTableOffset
;
30 extern UINT32 mOutImageType
;
33 // Common EFI specific data.
35 #define ELF_HII_SECTION_NAME ".hii"
45 } SECTION_FILTER_TYPES
;
51 VOID (*ScanSections
) ();
52 BOOLEAN (*WriteSections
) (SECTION_FILTER_TYPES FilterType
);
53 VOID (*WriteRelocations
) ();
54 VOID (*WriteDebug
) ();
55 VOID (*SetImageSize
) ();