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

Re: [Xen-devel] [PATCH 01 of 16] amd iommu: Refactoring iommu ring buffer definition



>>> On 23.12.11 at 12:29, Wei Wang <wei.wang2@xxxxxxx> wrote:
> --- a/xen/include/asm-x86/amd-iommu.h Wed Dec 21 10:47:30 2011 +0000
> +++ b/xen/include/asm-x86/amd-iommu.h Thu Dec 22 16:56:10 2011 +0100
> ...
> +struct ring_buffer {
> +    void *buffer;
> +    unsigned long entries;
> +    unsigned long alloc_size;
> +    unsigned long entry_size;

I haven't been able to spot a real use of this field (throughout the
patch series).

Jan

> +    uint32_t tail;
> +    uint32_t head;
> +};
> +
>  typedef struct iommu_cap {
>      uint32_t header;                    /* offset 00h */
>      uint32_t base_low;                  /* offset 04h */



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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