xref: /linux/include/xen/interface/io/protocols.h (revision e79affc3f2461fc927ed5d09adfb6348b258e88b)
13e334239SMarkus Armbruster #ifndef __XEN_PROTOCOLS_H__
23e334239SMarkus Armbruster #define __XEN_PROTOCOLS_H__
33e334239SMarkus Armbruster 
43e334239SMarkus Armbruster #define XEN_IO_PROTO_ABI_X86_32     "x86_32-abi"
53e334239SMarkus Armbruster #define XEN_IO_PROTO_ABI_X86_64     "x86_64-abi"
63e334239SMarkus Armbruster #define XEN_IO_PROTO_ABI_IA64       "ia64-abi"
73e334239SMarkus Armbruster #define XEN_IO_PROTO_ABI_POWERPC64  "powerpc64-abi"
8*e79affc3SStefano Stabellini #define XEN_IO_PROTO_ABI_ARM        "arm-abi"
93e334239SMarkus Armbruster 
103e334239SMarkus Armbruster #if defined(__i386__)
113e334239SMarkus Armbruster # define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_X86_32
123e334239SMarkus Armbruster #elif defined(__x86_64__)
133e334239SMarkus Armbruster # define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_X86_64
143e334239SMarkus Armbruster #elif defined(__ia64__)
153e334239SMarkus Armbruster # define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_IA64
163e334239SMarkus Armbruster #elif defined(__powerpc64__)
173e334239SMarkus Armbruster # define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_POWERPC64
18*e79affc3SStefano Stabellini #elif defined(__arm__)
19*e79affc3SStefano Stabellini # define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_ARM
203e334239SMarkus Armbruster #else
213e334239SMarkus Armbruster # error arch fixup needed here
223e334239SMarkus Armbruster #endif
233e334239SMarkus Armbruster 
243e334239SMarkus Armbruster #endif
25