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 */ 13 #ifndef _ASM_POWERPC_TYPES_H 14 #define _ASM_POWERPC_TYPES_H 15 16 #include <uapi/asm/types.h> 17 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 26 #ifndef __ASSEMBLY__ 27 28 typedef __vector128 vector128; 29 30 typedef struct { 31 unsigned long entry; 32 unsigned long toc; 33 unsigned long env; 34 } func_descr_t; 35 36 #endif /* __ASSEMBLY__ */ 37 38 #endif /* _ASM_POWERPC_TYPES_H */ 39