]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/Include/X64/ProcessorBind.h
Sync EDKII BaseTools to BaseTools project r2093.
[mirror_edk2.git] / BaseTools / Source / C / Include / X64 / ProcessorBind.h
index 5b2ad46637379cc1f31d4d31a756c25444efa9c9..0bc02f043a30be70a54530bbd91036eae28211bc 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Processor or Compiler specific defines and types x64 (Intel(r) EM64T, AMD64).\r
 \r
-  Copyright (c) 2006 - 2008, Intel Corporation  All rights reserved.\r
+  Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials are licensed and made available\r
   under the terms and conditions of the BSD License which accompanies this\r
@@ -27,7 +27,9 @@
 //\r
 // Make sure we are useing the correct packing rules per EFI specification\r
 //\r
+#ifndef __GNUC__\r
 #pragma pack()\r
+#endif\r
 \r
 \r
 #if _MSC_EXTENSIONS \r
@@ -147,13 +149,13 @@ typedef INT64   INTN;
 //\r
 // Processor specific defines\r
 //\r
-#define MAX_BIT     0x8000000000000000\r
-#define MAX_2_BITS  0xC000000000000000\r
+#define MAX_BIT     0x8000000000000000ULL\r
+#define MAX_2_BITS  0xC000000000000000ULL\r
 \r
 //\r
 // Maximum legal Itanium-based address\r
 //\r
-#define MAX_ADDRESS   0xFFFFFFFFFFFFFFFF\r
+#define MAX_ADDRESS   0xFFFFFFFFFFFFFFFFULL\r
 \r
 //\r
 // Modifier to ensure that all protocol member functions and EFI intrinsics\r