Skip to contentSkip to conversation

Add missing intitialization of variable in TIS dev. model

PATCH New Stefan Berger 1 participant 1 message Feb 14, 2007

lore
Share & tools
lore
#0 lore raw

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.

xen-unstable.hg/tools/ioemu/hw/tpm_tis.c +1 -0
Index: root/xen-unstable.hg/tools/ioemu/hw/tpm_tis.c
===================================================================
@@ -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