xref: /linux/include/xen/interface/io/protocols.h (revision 3e334239d89d4a71610be5a3e8432464d421d9ec)
1*3e334239SMarkus Armbruster #ifndef __XEN_PROTOCOLS_H__
2*3e334239SMarkus Armbruster #define __XEN_PROTOCOLS_H__
3*3e334239SMarkus Armbruster 
4*3e334239SMarkus Armbruster #define XEN_IO_PROTO_ABI_X86_32     "x86_32-abi"
5*3e334239SMarkus Armbruster #define XEN_IO_PROTO_ABI_X86_64     "x86_64-abi"
6*3e334239SMarkus Armbruster #define XEN_IO_PROTO_ABI_IA64       "ia64-abi"
7*3e334239SMarkus Armbruster #define XEN_IO_PROTO_ABI_POWERPC64  "powerpc64-abi"
8*3e334239SMarkus Armbruster 
9*3e334239SMarkus Armbruster #if defined(__i386__)
10*3e334239SMarkus Armbruster # define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_X86_32
11*3e334239SMarkus Armbruster #elif defined(__x86_64__)
12*3e334239SMarkus Armbruster # define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_X86_64
13*3e334239SMarkus Armbruster #elif defined(__ia64__)
14*3e334239SMarkus Armbruster # define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_IA64
15*3e334239SMarkus Armbruster #elif defined(__powerpc64__)
16*3e334239SMarkus Armbruster # define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_POWERPC64
17*3e334239SMarkus Armbruster #else
18*3e334239SMarkus Armbruster # error arch fixup needed here
19*3e334239SMarkus Armbruster #endif
20*3e334239SMarkus Armbruster 
21*3e334239SMarkus Armbruster #endif
22