/** @file\r
x64 Specific relocation fixups.\r
\r
- Copyright (c) 2006, Intel Corporation\r
- All rights reserved. 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
-\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
- Module Name: PeCoffLoaderEx.c\r
+Copyright (c) 2005 - 2006 Intel Corporation. <BR>\r
+All rights reserved. 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
+ \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
**/\r
\r
+#include "BasePeCoffLibInternals.h"\r
+\r
/**\r
Performs an x64 specific relocation fixup.\r
\r
@param FixupData Pointer to a buffer to log the fixups\r
@param Adjust The offset to adjust the fixup\r
\r
+ @retval RETURN_SUCCESS Success to perform relocation\r
+ @retval RETURN_UNSUPPORTED Unsupported.\r
**/\r
RETURN_STATUS\r
PeCoffLoaderRelocateImageEx (\r
- IN UINT16 *Reloc,\r
- IN OUT CHAR8 *Fixup, \r
- IN OUT CHAR8 **FixupData,\r
- IN UINT64 Adjust\r
+ IN UINT16 *Reloc,\r
+ IN OUT CHAR8 *Fixup, \r
+ IN OUT CHAR8 **FixupData,\r
+ IN UINT64 Adjust\r
)\r
{\r
return RETURN_UNSUPPORTED;\r
\r
\r
/**\r
- Performs an Itanium-based specific re-relocation fixup and is a no-op on other\r
+ Performs an X64 specific re-relocation fixup and is a no-op on other\r
instruction sets. This is used to re-relocated the image into the EFI virtual\r
space for runtime calls.\r
\r
@param FixupData Pointer to a buffer to log the fixups.\r
@param Adjust The offset to adjust the fixup.\r
\r
- @return Status code.\r
+ @return EFI_UNSUPPORTED.\r
\r
**/\r
RETURN_STATUS\r