xref: /linux-6.15/include/xen/interface/io/protocols.h (revision 8fdff1dc)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef __XEN_PROTOCOLS_H__
2 #define __XEN_PROTOCOLS_H__
3 
4 #define XEN_IO_PROTO_ABI_X86_32     "x86_32-abi"
5 #define XEN_IO_PROTO_ABI_X86_64     "x86_64-abi"
6 #define XEN_IO_PROTO_ABI_IA64       "ia64-abi"
7 #define XEN_IO_PROTO_ABI_POWERPC64  "powerpc64-abi"
8 #define XEN_IO_PROTO_ABI_ARM        "arm-abi"
9 
10 #if defined(__i386__)
11 # define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_X86_32
12 #elif defined(__x86_64__)
13 # define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_X86_64
14 #elif defined(__ia64__)
15 # define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_IA64
16 #elif defined(__powerpc64__)
17 # define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_POWERPC64
18 #elif defined(__arm__)
19 # define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_ARM
20 #else
21 # error arch fixup needed here
22 #endif
23 
24 #endif
25 

served by {OpenGrok

Last Index Update: Tue Oct 21 18:42:31 GMT 2025