X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=BaseTools%2FSource%2FC%2FInclude%2FX64%2FProcessorBind.h;fp=BaseTools%2FSource%2FC%2FInclude%2FX64%2FProcessorBind.h;h=c625f8cef4a1f6e6222b550ef84020a350aad9ea;hp=a02a41913f2716246451ce51d6de0a34dc0260f4;hb=f7496d717357b9af78414d19679b073403812340;hpb=39456d00f36e04b7e7efb208f350f4e83b6c3531 diff --git a/BaseTools/Source/C/Include/X64/ProcessorBind.h b/BaseTools/Source/C/Include/X64/ProcessorBind.h index a02a41913f..c625f8cef4 100644 --- a/BaseTools/Source/C/Include/X64/ProcessorBind.h +++ b/BaseTools/Source/C/Include/X64/ProcessorBind.h @@ -1,7 +1,7 @@ /** @file Processor or Compiler specific defines and types x64 (Intel(r) EM64T, AMD64). - Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this @@ -30,8 +30,8 @@ #endif -#if _MSC_EXTENSIONS - +#if _MSC_EXTENSIONS + // // Disable warning that make it impossible to compile at /W4 // This only works for Microsoft* tools @@ -66,12 +66,12 @@ // // No ANSI C 2000 stdint.h integer width declarations, so define equivalents // - - #if _MSC_EXTENSIONS - + + #if _MSC_EXTENSIONS + // - // use Microsoft C complier dependent integer width types + // use Microsoft C complier dependent integer width types // typedef unsigned __int64 UINT64; typedef __int64 INT64; @@ -85,9 +85,9 @@ typedef char CHAR8; typedef char INT8; #else - #ifdef _EFI_P64 + #ifdef _EFI_P64 // - // P64 - is Intel Itanium(TM) speak for pointers being 64-bit and longs and ints + // P64 - is Intel Itanium(TM) speak for pointers being 64-bit and longs and ints // are 32-bits // typedef unsigned long long UINT64; @@ -160,28 +160,28 @@ typedef INT64 INTN; // use the correct C calling convention. All protocol member functions and // EFI intrinsics are required to modify thier member functions with EFIAPI. // -#if _MSC_EXTENSIONS +#if _MSC_EXTENSIONS /// /// Define the standard calling convention reguardless of optimization level. /// __cdecl is Microsoft* specific C extension. - /// - #define EFIAPI __cdecl + /// + #define EFIAPI __cdecl #elif __GNUC__ /// /// Define the standard calling convention reguardless of optimization level. /// efidecl is an extension to GCC that supports the differnece between x64 /// GCC ABI and x64 Microsoft* ABI. EFI is closer to the Microsoft* ABI and - /// EFIAPI makes sure the right ABI is used for public interfaces. + /// EFIAPI makes sure the right ABI is used for public interfaces. /// eficecl is a work in progress and we do not yet have the compiler /// - #define EFIAPI + #define EFIAPI #else - #define EFIAPI + #define EFIAPI #endif // // The Microsoft* C compiler can removed references to unreferenced data items -// if the /OPT:REF linker option is used. We defined a macro as this is a +// if the /OPT:REF linker option is used. We defined a macro as this is a // a non standard extension // #if _MSC_EXTENSIONS