Add missing intitialization of variable in TIS dev. model
PATCH 1/1 Add missing intitialization of variable in TIS dev. model
Add a missing initialization of a state variable in the TIS device model so that the first response received after a resume is not aborted.
Signed-off-by Stefan Berger <[email protected]>
xen-unstable.hg/tools/ioemu/hw/tpm_tis.c +1 -0
@@ -881,6 +881,7 @@ void tpm_tis_init(SetIRQFunc *set_irq, v s->Transmitlayer =-1 ; s->tpmTx.fd[0 ] =-1 ; s->tpmTx.fd[1 ] =-1 ; + s->aborting_locty =NO_LOCALITY ;tpm_initialize_instance (s, s->vtpm_instance);memset (s->buffer.buf,0 ,sizeof (s->buffer.buf));
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel