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

[Xen-devel] union in tpmif_tx_interface_t ?

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] union in tpmif_tx_interface_t ?
From: NAHieu <nahieu@xxxxxxxxx>
Date: Fri, 9 Sep 2005 02:56:49 +0900
Delivery-date: Thu, 08 Sep 2005 17:54:42 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Re2xUs2utCoDyCjLGBYcWNMwGcGZzw5dkfzoosUD8ADEUfqzLjPg046IHk5R7jRAVlR+QN+RLt4jC3sQ3kHbLwB6jvAAdG0Iq8vzezQbH1SqoO5ingh5oqnL1VIPAO3XZzn507DzGPBG+20wm0CBuU0gtp70PkzaxV5SZKNxQTU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
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;


Thanks, 
H

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

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