]>
git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/TianoTools/Common/PeiLib/Ipf/PeCoffLoaderEx.h
b79ead654a3a420fc59e39f3efc91135468c6b42
3 Copyright (c) 2004, 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_
29 // Define macro to determine if the machine type is supported.
30 // Returns 0 if the machine is not supported, Not 0 otherwise.
32 #define EFI_IMAGE_MACHINE_TYPE_SUPPORTED(Machine) \
33 ((Machine) == EFI_IMAGE_MACHINE_IA64 || \
34 (Machine) == EFI_IMAGE_MACHINE_EBC)
38 PeCoffLoaderRelocateImageEx (
41 IN OUT CHAR8
**FixupData
,
48 Performs an Itanium-based specific relocation fixup
52 Reloc - Pointer to the relocation record
54 Fixup - Pointer to the address to fix up
56 FixupData - Pointer to a buffer to log the fixups
58 Adjust - The offset to adjust the fixup