linux/include/xen/interface/io/protocols.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0 */
   2#ifndef __XEN_PROTOCOLS_H__
   3#define __XEN_PROTOCOLS_H__
   4
   5#define XEN_IO_PROTO_ABI_X86_32     "x86_32-abi"
   6#define XEN_IO_PROTO_ABI_X86_64     "x86_64-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(__powerpc64__)
  15# define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_POWERPC64
  16#elif defined(__arm__) || defined(__aarch64__)
  17# define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_ARM
  18#else
  19# error arch fixup needed here
  20#endif
  21
  22#endif
  23