1a576ab5bSrab /****************************************************************************** 2a576ab5bSrab * protocols.h 3a576ab5bSrab * 4a576ab5bSrab * Permission is hereby granted, free of charge, to any person obtaining a copy 5a576ab5bSrab * of this software and associated documentation files (the "Software"), to 6a576ab5bSrab * deal in the Software without restriction, including without limitation the 7a576ab5bSrab * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 8a576ab5bSrab * sell copies of the Software, and to permit persons to whom the Software is 9a576ab5bSrab * furnished to do so, subject to the following conditions: 10a576ab5bSrab * 11a576ab5bSrab * The above copyright notice and this permission notice shall be included in 12a576ab5bSrab * all copies or substantial portions of the Software. 13a576ab5bSrab * 14a576ab5bSrab * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15a576ab5bSrab * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16a576ab5bSrab * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17a576ab5bSrab * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18a576ab5bSrab * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19a576ab5bSrab * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20a576ab5bSrab * DEALINGS IN THE SOFTWARE. 21a576ab5bSrab */ 22*349b53ddSStuart Maybee 23a576ab5bSrab #ifndef __XEN_PROTOCOLS_H__ 24a576ab5bSrab #define __XEN_PROTOCOLS_H__ 25a576ab5bSrab 26a576ab5bSrab #define XEN_IO_PROTO_ABI_X86_32 "x86_32-abi" 27a576ab5bSrab #define XEN_IO_PROTO_ABI_X86_64 "x86_64-abi" 28a576ab5bSrab #define XEN_IO_PROTO_ABI_IA64 "ia64-abi" 29a576ab5bSrab 30a576ab5bSrab #if defined(__i386__) 31a576ab5bSrab # define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_X86_32 32a576ab5bSrab #elif defined(__x86_64__) 33a576ab5bSrab # define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_X86_64 34a576ab5bSrab #elif defined(__ia64__) 35a576ab5bSrab # define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_IA64 36a576ab5bSrab #else 37a576ab5bSrab # error arch fixup needed here 38a576ab5bSrab #endif 39a576ab5bSrab 40a576ab5bSrab #endif 41