On Wed, Aug 10, 2011 at 10:51 AM, Stefan Berger <stef...@linux.vnet.ibm.com> wrote: > This patch adds an implementation of a TPM TIS driver for the TPM TIS > emulation supported by Qemu (patches posted, not in git yet). Usage of the > driver is broken up into several functions. The driver is cleanly separated > from the rest of the code through an interface holding pointers to the > driver's > functions. A client using this driver first probes whether the TPM TIS > interface is available (probe function) and then invokes the interface > function to initialze the interface and send requests and receive responses. > > Possible future extensions *could* include a virtio interface for the TPM > with a corresponding driver here. > > v6: > - reworked timeouts; not hardcoded anymore > > v5: > - introducing a configurable threashold as part of the driver interface > structure below which the TPM is used for calculating the sha1 > > v2: > - adapted tpm_drivers.c to be under LGPLv3 > > Signed-off-by: Stefan Berger <stef...@linux.vnet.ibm.com>
Hi Stefan, Please excuse my TPM ignorance, but is the emulation of a specific hardware device or has the TCG defined the registers etc for TPM hardware? Marc -- http://se-eng.com