1 #ifndef _PPC64_TYPES_H
2 #define _PPC64_TYPES_H
3 
4 typedef __signed__ char __s8;
5 typedef unsigned char __u8;
6 
7 typedef __signed__ short __s16;
8 typedef unsigned short __u16;
9 
10 typedef __signed__ int __s32;
11 typedef unsigned int __u32;
12 
13 typedef __signed__ long long __s64;
14 typedef unsigned long long __u64;
15 
16 typedef signed char s8;
17 typedef unsigned char u8;
18 
19 typedef signed short s16;
20 typedef unsigned short u16;
21 
22 typedef signed int s32;
23 typedef unsigned int u32;
24 
25 typedef signed long long s64;
26 typedef unsigned long long u64;
27 
28 #define BITS_PER_LONG 32
29 
30 typedef struct {
31 	__u32 u[4];
32 } __attribute((aligned(16))) __vector128;
33 
34 typedef __vector128 vector128;
35 
36 #endif /* _PPC64_TYPES_H */
37