debuggers.hg
changeset 13992:89d315c7dcea
[VTPM] 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 <stefanb@us.ibm.com>
device model so that the first response received after a resume is not
aborted.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
author | kfraser@localhost.localdomain |
---|---|
date | Thu Feb 15 13:36:58 2007 +0000 (2007-02-15) |
parents | 4bd0ea9c499f |
children | b3c41b9f01a6 |
files | tools/ioemu/hw/tpm_tis.c |
line diff
1.1 --- a/tools/ioemu/hw/tpm_tis.c Thu Feb 15 13:36:00 2007 +0000 1.2 +++ b/tools/ioemu/hw/tpm_tis.c Thu Feb 15 13:36:58 2007 +0000 1.3 @@ -881,6 +881,7 @@ void tpm_tis_init(SetIRQFunc *set_irq, v 1.4 s->Transmitlayer = -1; 1.5 s->tpmTx.fd[0] = -1; 1.6 s->tpmTx.fd[1] = -1; 1.7 + s->aborting_locty = NO_LOCALITY; 1.8 1.9 tpm_initialize_instance(s, s->vtpm_instance); 1.10 memset(s->buffer.buf,0,sizeof(s->buffer.buf));