[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] blkif: add indirect descriptors interface to public headers

> diff --git a/xen/include/public/io/protocols.h 
> b/xen/include/public/io/protocols
> index 80b196b..1a3f038 100644
> --- a/xen/include/public/io/protocols.h
> +++ b/xen/include/public/io/protocols.h
> @@ -23,6 +23,10 @@
>  #ifndef __XEN_PROTOCOLS_H__
>  #define __XEN_PROTOCOLS_H__
> +/*
> + * These ABIs are the ones used by GCC. Note that this means 8 byte
> + * values are assumed to be only 4 byte aligned when using x86_32.

Apparently the gcc ABI on x86 is the System V ABI, hence I think these
are the references:

I'd suggest putting these into arch-x86.h or somewhere towards the top
level of the headers, since they should apply to all hypercall parameter
structs and not just the I/O interfaces.


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.