[SeaBIOS] [PATCH V6 1/9] Add an implementation of a TPM TIS driver

Marc Jones marcj303 at gmail.com
Fri Aug 19 19:33:24 CEST 2011


On Wed, Aug 10, 2011 at 10:51 AM, Stefan Berger
<stefanb at 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 <stefanb at 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



More information about the SeaBIOS mailing list