[SeaBIOS] SeaBIOS Digest, Vol 72, Issue 33
Kevin O'Connor
kevin at koconnor.net
Fri Jan 8 17:41:13 CET 2016
On Thu, Jan 07, 2016 at 03:39:13PM -0500, Stefan Berger wrote:
> "Kevin O'Connor" <kevin at koconnor.net> wrote on 01/07/2016 03:14:37 PM:
> > I don't have input on what TPM2 organization should look like, mainly
> > because I don't know what TPM2 entails. I gather the TIS commands are
> > changing, but what else changes? Does the ACPI log, BIOS interface,
> > or tpm menu change? Do you have a pointer to the TPM2 spec (when I
> > last looked it seemed that TPM2 was still being worked on).
>
> The TIS got more registers; some flags allow detection of the TPM version.
>
> All commands changed -- no backwards compatibility. The header 'fields'
> are the same, their ordinal and tag values are not.
>
> Spec:
> http://www.trustedcomputinggroup.org/resources/tpm_library_specification
Thanks. Does the hardware interface change as well (ie, is it still
the same reads/writes to MMIO at 0xfed40000)?
My initial thought would be to do what you've proposed - have wrapper
functions around the TPM commands (eg, tpm_extend, tpm_get_capability,
read_permanent_flags) and teach those functions how to send the two
different styles of commands (and translate the responses if
necessary).
-Kevin
More information about the SeaBIOS
mailing list