/******************************************************************************1* protocols.h2*3* Permission is hereby granted, free of charge, to any person obtaining a copy4* of this software and associated documentation files (the "Software"), to5* deal in the Software without restriction, including without limitation the6* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or7* sell copies of the Software, and to permit persons to whom the Software is8* furnished to do so, subject to the following conditions:9*10* The above copyright notice and this permission notice shall be included in11* all copies or substantial portions of the Software.12*13* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR14* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,15* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE16* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER17* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING18* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER19* DEALINGS IN THE SOFTWARE.20*21* Copyright (c) 2008, Keir Fraser22*/2324#ifndef __XEN_PROTOCOLS_H__25#define __XEN_PROTOCOLS_H__2627#define XEN_IO_PROTO_ABI_X86_32 "x86_32-abi"28#define XEN_IO_PROTO_ABI_X86_64 "x86_64-abi"29#define XEN_IO_PROTO_ABI_ARM "arm-abi"3031#if defined(__i386__)32# define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_X86_3233#elif defined(__x86_64__)34# define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_X86_6435#elif defined(__arm__) || defined(__aarch64__)36# define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_ARM37#else38# error arch fixup needed here39#endif4041#endif424344