]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/X64/ProcessorBind.h
update comments and refine code.
[mirror_edk2.git] / MdePkg / Include / X64 / ProcessorBind.h
index 97f4b287536ed1136658929a90e8427e59bfc332..3b61a3b826be2a3d64719310e549c0cf7fb239d8 100644 (file)
 \r
 \r
 #if __INTEL_COMPILER\r
-//\r
-// Disable ICC's remark #593: "LocalVariable" was set but never used\r
-// This is legal ANSI C code so we disable the remark that is turned on with -Wall\r
-//\r
-#pragma warning ( disable : 593 )\r
-\r
 //\r
 // Disable ICC's remark #869: "Parameter" was never referenced warning.\r
 // This is legal ANSI C code so we disable the remark that is turned on with -Wall\r
   //\r
  \r
   #if _MSC_EXTENSIONS \r
-    \r
-\r
     //\r
     // use Microsoft C complier dependent interger width types \r
     //\r
   #else\r
     #ifdef _EFI_P64 \r
       //\r
-      // P64 - is Intel Itanium(TM) speak for pointers being 64-bit and longs and ints \r
-      //  are 32-bits\r
+      // P64 - pointers being 64-bit and longs and ints are 32-bits.\r
       //\r
       typedef unsigned long long  UINT64;\r
       typedef long long           INT64;\r
@@ -240,7 +231,11 @@ typedef INT64   INTN;
 // For symbol name in GNU assembly code, an extra "_" is necessary\r
 //\r
 #if __GNUC__\r
-  #define ASM_PFX(name) _##name    \r
+  #if defined(linux)\r
+    #define ASM_PFX(name) name\r
+  #else\r
+    #define ASM_PFX(name) _##name\r
+  #endif  \r
 #endif\r
 \r
 #define FUNCTION_ENTRY_POINT(p) (p)\r