WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] union in tpmif_tx_interface_t ?

To: NAHieu <nahieu@xxxxxxxxx>
Subject: Re: [Xen-devel] union in tpmif_tx_interface_t ?
From: Stefan Berger <stefanb@xxxxxxxxxx>
Date: Thu, 8 Sep 2005 16:11:27 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 08 Sep 2005 20:09:28 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <5d7aca9505090810561f60adaa@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx wrote on 09/08/2005 01:56:49 PM:

> Anybody knows why tpmif_tx_interface_t declares an union like below
> (union has only 1 item)?
> 
> typedef struct {
>     union {
>         tpmif_tx_request_t  req;
>     } ring[TPMIF_TX_RING_SIZE];
> } tpmif_tx_interface_t;
> 

There used to be a tpmif_tx_response_t but that was removed. I might 
remove the union some time or also use the defines to create a ring.

  Stefan
> 
> Thanks, 
> H
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel


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

<Prev in Thread] Current Thread [Next in Thread>