union in tpmif_tx_interface_t ?
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
[email protected] wrote on 09/08/2005 01:56:49 PM:
Quoted 9 lines
Anybody knows why
tpmif_tx_interface_tdeclares 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
Quoted 8 lines
Thanks,
H_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel