Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /* |
2 | * This file is never included by application software unless | |
3 | * explicitly requested (e.g., via linux/types.h) in which case the | |
4 | * application is Linux specific so (user-) name space pollution is | |
5 | * not a major issue. However, for interoperability, libraries still | |
6 | * need to be careful to avoid a name clashes. | |
7 | * | |
8 | * This program is free software; you can redistribute it and/or | |
9 | * modify it under the terms of the GNU General Public License | |
10 | * as published by the Free Software Foundation; either version | |
11 | * 2 of the License, or (at your option) any later version. | |
12 | */ | |
c3617f72 DH |
13 | #ifndef _ASM_POWERPC_TYPES_H |
14 | #define _ASM_POWERPC_TYPES_H | |
1da177e4 | 15 | |
c3617f72 | 16 | #include <uapi/asm/types.h> |
1da177e4 | 17 | |
f55d9665 ME |
18 | #ifdef __powerpc64__ |
19 | #if defined(_CALL_ELF) && _CALL_ELF == 2 | |
20 | #define PPC64_ELF_ABI_v2 | |
21 | #else | |
22 | #define PPC64_ELF_ABI_v1 | |
23 | #endif | |
24 | #endif /* __powerpc64__ */ | |
25 | ||
1da177e4 LT |
26 | #ifndef __ASSEMBLY__ |
27 | ||
1da177e4 LT |
28 | typedef __vector128 vector128; |
29 | ||
1da177e4 LT |
30 | typedef struct { |
31 | unsigned long entry; | |
32 | unsigned long toc; | |
33 | unsigned long env; | |
34 | } func_descr_t; | |
35 | ||
1da177e4 LT |
36 | #endif /* __ASSEMBLY__ */ |
37 | ||
971dc77b | 38 | #endif /* _ASM_POWERPC_TYPES_H */ |