ia64/linux-2.6.18-xen.hg

annotate include/xen/interface/io/protocols.h @ 540:db71fb3204b5

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