/** @file\r
Fixes Intel Itanium(TM) specific relocation types.\r
\r
- Copyright (c) 2006 - 2008, Intel Corporation\r
- All rights reserved. This program and the accompanying materials\r
+ Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+ This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php\r
+ http://opensource.org/licenses/bsd-license.php.\r
\r
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
/**\r
Performs an Itanium-based specific relocation fixup.\r
\r
- @param Reloc Pointer to the relocation record.\r
- @param Fixup Pointer to the address to fix up.\r
- @param FixupData Pointer to a buffer to log the fixups.\r
+ @param Reloc The pointer to the relocation record.\r
+ @param Fixup The pointer to the address to fix up.\r
+ @param FixupData The pointer to a buffer to log the fixups.\r
@param Adjust The offset to adjust the fixup.\r
\r
@retval RETURN_SUCCESS Succeed to fix the relocation entry.\r
loading and relocating of the image type. It's up to the caller to support\r
the entry point.\r
\r
- This function implies the basic PE/COFF loader/relocator supports IA32, EBC,\r
- & x64 images. Calling the entry point in a correct mannor is up to the\r
- consumer of this library. This version also supports the special relocations\r
- for Itanium.\r
+ The itanium version PE/COFF loader/relocater supports itanium and EBC image.\r
\r
@param Machine Machine type from the PE Header.\r
\r
IN UINT16 Machine\r
)\r
{\r
- if ((Machine == EFI_IMAGE_MACHINE_IPF) || (Machine == EFI_IMAGE_MACHINE_IA32) ||\r
- (Machine == EFI_IMAGE_MACHINE_EBC) || (Machine == EFI_IMAGE_MACHINE_X64)) {\r
+ if ((Machine == IMAGE_FILE_MACHINE_IA64) || (Machine == IMAGE_FILE_MACHINE_EBC)) {\r
return TRUE;\r
}\r
\r
\r
@param Reloc Ponter to baes of the input stream\r
@param Fixup Offset to the start of the buffer\r
- @param FixupData Number of bytes to copy into the buffer\r
+ @param FixupData The number of bytes to copy into the buffer\r
@param Adjust Location to place results of read\r
\r
@retval RETURN_SUCCESS Data is read from FileOffset from the Handle into\r