First cut at 64-bit types. not 100% sure these are all correct for
N32 ABI.
This commit is contained in:
parent
8de20ddba8
commit
f8b89abb9d
@ -54,7 +54,7 @@ typedef unsigned short __uint16_t;
|
||||
typedef int __int32_t;
|
||||
typedef unsigned int __uint32_t;
|
||||
|
||||
#ifdef __mips64
|
||||
#ifdef __mips_n64
|
||||
typedef long __int64_t;
|
||||
typedef unsigned long __uint64_t;
|
||||
#else
|
||||
@ -79,14 +79,14 @@ typedef unsigned long long __uint64_t;
|
||||
*/
|
||||
typedef __int32_t __clock_t; /* clock()... */
|
||||
typedef unsigned int __cpumask_t;
|
||||
#ifdef __mips64
|
||||
#ifdef __mips_n64
|
||||
typedef __int64_t __critical_t;
|
||||
#else
|
||||
typedef __int32_t __critical_t;
|
||||
#endif
|
||||
typedef double __double_t;
|
||||
typedef double __float_t;
|
||||
#ifdef __mips64
|
||||
#ifdef __mips_n64
|
||||
typedef __int64_t __intfptr_t;
|
||||
typedef __int64_t __intptr_t;
|
||||
#else
|
||||
@ -102,14 +102,14 @@ typedef __int8_t __int_least8_t;
|
||||
typedef __int16_t __int_least16_t;
|
||||
typedef __int32_t __int_least32_t;
|
||||
typedef __int64_t __int_least64_t;
|
||||
#if defined(__mips64) || defined(ISA_MIPS64)
|
||||
#if defined(__mips_n64) || defined(ISA_MIPS64)
|
||||
typedef __int64_t __register_t;
|
||||
typedef __int64_t f_register_t;
|
||||
#else
|
||||
typedef __int32_t __register_t;
|
||||
typedef __int32_t f_register_t;
|
||||
#endif
|
||||
#ifdef __mips64
|
||||
#ifdef __mips_n64
|
||||
typedef __int64_t __ptrdiff_t;
|
||||
typedef __int64_t __segsz_t;
|
||||
typedef __uint64_t __size_t;
|
||||
@ -134,7 +134,7 @@ typedef __uint8_t __uint_least8_t;
|
||||
typedef __uint16_t __uint_least16_t;
|
||||
typedef __uint32_t __uint_least32_t;
|
||||
typedef __uint64_t __uint_least64_t;
|
||||
#if defined(__mips64) || defined(ISA_MIPS64)
|
||||
#if defined(__mips_n64) || defined(ISA_MIPS64)
|
||||
typedef __uint64_t __u_register_t;
|
||||
typedef __uint64_t __vm_offset_t;
|
||||
typedef __uint64_t __vm_paddr_t;
|
||||
|
Loading…
Reference in New Issue
Block a user