]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/Include/AArch64/ProcessorBind.h
BaseTools: use stdint.h for GCC ProcessorBind.h typedefs
[mirror_edk2.git] / BaseTools / Source / C / Include / AArch64 / ProcessorBind.h
index bfaf1e28e446ee96049bc1e3b5697f9c023ce902..dfa725b2e363631e275974a4fda2279dce364425 100644 (file)
   typedef signed char         INT8;\r
 #else\r
   //\r
-  // Assume standard AARCH64 alignment.\r
+  // Use ANSI C 2000 stdint.h integer width declarations\r
   //\r
-  typedef unsigned long long  UINT64;\r
-  typedef long long           INT64;\r
-  typedef unsigned int        UINT32;\r
-  typedef int                 INT32;\r
-  typedef unsigned short      UINT16;\r
-  typedef unsigned short      CHAR16;\r
-  typedef short               INT16;\r
-  typedef unsigned char       BOOLEAN;\r
-  typedef unsigned char       UINT8;\r
-  typedef char                CHAR8;\r
-  typedef signed char         INT8;\r
+  #include <stdint.h>\r
+  typedef uint8_t   BOOLEAN;\r
+  typedef int8_t    INT8;\r
+  typedef uint8_t   UINT8;\r
+  typedef int16_t   INT16;\r
+  typedef uint16_t  UINT16;\r
+  typedef int32_t   INT32;\r
+  typedef uint32_t  UINT32;\r
+  typedef int64_t   INT64;\r
+  typedef uint64_t  UINT64;\r
+  typedef char      CHAR8;\r
+  typedef uint16_t  CHAR16;\r
 \r
-  #define UINT8_MAX 0xff\r
 #endif\r
 \r
 ///\r