ia64/xen-unstable

changeset 13575:ffe52263b430

bimodal: header file with protocol names.

Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
author kfraser@localhost.localdomain
date Tue Jan 23 14:45:41 2007 +0000 (2007-01-23)
parents 914304b3a3da
children b9ffa4b49d97
files xen/include/public/io/protocols.h
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xen/include/public/io/protocols.h	Tue Jan 23 14:45:41 2007 +0000
     1.3 @@ -0,0 +1,21 @@
     1.4 +#ifndef __XEN_PROTOCOLS_H__
     1.5 +#define __XEN_PROTOCOLS_H__
     1.6 +
     1.7 +#define XEN_IO_PROTO_ABI_X86_32     "x86_32-abi"
     1.8 +#define XEN_IO_PROTO_ABI_X86_64     "x86_64-abi"
     1.9 +#define XEN_IO_PROTO_ABI_IA64       "ia64-abi"
    1.10 +#define XEN_IO_PROTO_ABI_POWERPC64  "powerpc64-abi"
    1.11 +
    1.12 +#if defined(__i386__)
    1.13 +# define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_X86_32
    1.14 +#elif defined(__x86_64__)
    1.15 +# define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_X86_64
    1.16 +#elif defined(__ia64__)
    1.17 +# define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_IA64
    1.18 +#elif defined(__powerpc64__)
    1.19 +# define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_POWERPC64
    1.20 +#else
    1.21 +# error arch fixup needed here
    1.22 +#endif
    1.23 +
    1.24 +#endif