diff options
author | Szabolcs Nagy <nsz@port70.net> | 2015-03-10 21:18:41 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-03-11 20:12:35 -0400 |
commit | 01ef3dd9c5fa7a56aa370f244dd08e05c73010f5 (patch) | |
tree | 8fe90d994a43124ff309d3af4c185e28b2b1d6ff /arch/aarch64/bits/alltypes.h.in | |
parent | f4e4632abfa8297db1485e132bb15b9ef6c32a1b (diff) | |
download | musl-01ef3dd9c5fa7a56aa370f244dd08e05c73010f5.tar.gz musl-01ef3dd9c5fa7a56aa370f244dd08e05c73010f5.tar.bz2 musl-01ef3dd9c5fa7a56aa370f244dd08e05c73010f5.tar.xz musl-01ef3dd9c5fa7a56aa370f244dd08e05c73010f5.zip |
add aarch64 port
This adds complete aarch64 target support including bigendian subarch.
Some of the long double math functions are known to be broken otherwise
interfaces should be fully functional, but at this point consider this
port experimental.
Initial work on this port was done by Sireesh Tripurari and Kevin Bortis.
Diffstat (limited to 'arch/aarch64/bits/alltypes.h.in')
-rw-r--r-- | arch/aarch64/bits/alltypes.h.in | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/aarch64/bits/alltypes.h.in b/arch/aarch64/bits/alltypes.h.in new file mode 100644 index 00000000..99f1654f --- /dev/null +++ b/arch/aarch64/bits/alltypes.h.in @@ -0,0 +1,28 @@ +#define _Addr long +#define _Int64 long +#define _Reg long + +TYPEDEF __builtin_va_list va_list; +TYPEDEF __builtin_va_list __isoc_va_list; + +#ifndef __cplusplus +TYPEDEF unsigned wchar_t; +#endif +TYPEDEF unsigned wint_t; + +TYPEDEF int blksize_t; +TYPEDEF unsigned int nlink_t; + +TYPEDEF float float_t; +TYPEDEF double double_t; + +TYPEDEF long time_t; +TYPEDEF long suseconds_t; + +TYPEDEF struct { union { int __i[14]; volatile int __vi[14]; unsigned long __s[7]; } __u; } pthread_attr_t; +TYPEDEF struct { union { int __i[10]; volatile int __vi[10]; volatile void *volatile __p[5]; } __u; } pthread_mutex_t; +TYPEDEF struct { union { int __i[10]; volatile int __vi[10]; volatile void *volatile __p[5]; } __u; } mtx_t; +TYPEDEF struct { union { int __i[12]; volatile int __vi[12]; void *__p[6]; } __u; } pthread_cond_t; +TYPEDEF struct { union { int __i[12]; volatile int __vi[12]; void *__p[6]; } __u; } cnd_t; +TYPEDEF struct { union { int __i[14]; volatile int __vi[14]; void *__p[7]; } __u; } pthread_rwlock_t; +TYPEDEF struct { union { int __i[8]; volatile int __vi[8]; void *__p[4]; } __u; } pthread_barrier_t; |