/** @file\r
Processor or Compiler specific defines and types x64 (Intel 64, AMD64).\r
\r
- Copyright (c) 2006 - 2017, 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
+ 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
\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
+ 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
//\r
\r
//\r
-// This warning is for potentially uninitialized local variable, and it may cause false \r
+// This warning is for potentially uninitialized local variable, and it may cause false\r
// positive issues in VS2013 and VS2015 build\r
//\r
#pragma warning ( disable : 4701 )\r
- \r
+\r
//\r
-// This warning is for potentially uninitialized local pointer variable, and it may cause \r
+// This warning is for potentially uninitialized local pointer variable, and it may cause\r
// false positive issues in VS2013 and VS2015 build\r
//\r
#pragma warning ( disable : 4703 )\r
- \r
+\r
#endif\r
\r
#endif\r
#elif defined(_MSC_EXTENSIONS)\r
///\r
/// Microsoft* compiler specific method for EFIAPI calling convention.\r
- /// \r
- #define EFIAPI __cdecl \r
+ ///\r
+ #define EFIAPI __cdecl\r
#elif defined(__GNUC__)\r
///\r
/// Define the standard calling convention regardless of optimization level.\r
/// The GCC support assumes a GCC compiler that supports the EFI ABI. The EFI\r
- /// ABI is much closer to the x64 Microsoft* ABI than standard x64 (x86-64) \r
- /// GCC ABI. Thus a standard x64 (x86-64) GCC compiler can not be used for \r
- /// x64. Warning the assembly code in the MDE x64 does not follow the correct \r
+ /// ABI is much closer to the x64 Microsoft* ABI than standard x64 (x86-64)\r
+ /// GCC ABI. Thus a standard x64 (x86-64) GCC compiler can not be used for\r
+ /// x64. Warning the assembly code in the MDE x64 does not follow the correct\r
/// ABI for the standard x64 (x86-64) GCC.\r
///\r
- #define EFIAPI \r
+ #define EFIAPI\r
#else\r
///\r
/// The default for a non Microsoft* or GCC compiler is to assume the EFI ABI\r
- /// is the standard. \r
+ /// is the standard.\r
///\r
- #define EFIAPI \r
+ #define EFIAPI\r
#endif\r
\r
#if defined(__GNUC__)\r
\r
/**\r
Return the pointer to the first instruction of a function given a function pointer.\r
- On x64 CPU architectures, these two pointer values are the same, \r
+ On x64 CPU architectures, these two pointer values are the same,\r
so the implementation of this macro is very simple.\r
- \r
+\r
@param FunctionPointer A pointer to a function.\r
\r
@return The pointer to the first instruction of a function given a function pointer.\r
- \r
+\r
**/\r
#define FUNCTION_ENTRY_POINT(FunctionPointer) (VOID *)(UINTN)(FunctionPointer)\r
\r