]>
git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Ipf/PeCoffLoaderEx.h
8f18ff0408fb591a27a71fa3aec01279c8bafcbb
3 Copyright (c) 2004 - 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 Fixes Intel Itanium(TM) specific relocation types
25 #ifndef _PE_COFF_LOADER_EX_H_
26 #define _PE_COFF_LOADER_EX_H_
30 PeCoffLoaderRelocateImageEx (
33 IN OUT CHAR8
**FixupData
,
40 Performs an Itanium-based specific relocation fixup
44 Reloc - Pointer to the relocation record
46 Fixup - Pointer to the address to fix up
48 FixupData - Pointer to a buffer to log the fixups
50 Adjust - The offset to adjust the fixup
60 PeCoffLoaderImageFormatSupported (
66 Returns TRUE if the machine type of PE/COFF image is supported. Supported
67 does not mean the image can be executed it means the PE/COFF loader supports
68 loading and relocating of the image type. It's up to the caller to support
71 This function implies the basic PE/COFF loader/relocator supports IPF, EBC,
72 images. Calling the entry point in a correct mannor is up to the
73 consumer of this library.
77 Machine - Machine type from the PE Header.
81 TRUE - if this PE/COFF loader can load the image
82 FALSE - if this PE/COFF loader cannot load the image