[SeaBIOS] [PATCH 0/5] Improve TPM related code

Stefan Berger stefanb at us.ibm.com
Thu Nov 12 16:14:43 CET 2015


The first patch in this series introduces a function for better handling
the error paths of functions where commands to the TPM do not work as
expected. It temporairly disables the device.

The other 4 patches refactor some of the code to get rid of local buffers
and to make function easier to call. Some of the internal functions had
to build up the same data structures as the BIOS interface expected, which
was cumbersome.

Regards,
   Stefan 

Stefan Berger (5):
  Temporarily deactivate the TPM in case of failure
  Refactor function building TPM commands
  Refactor the parameters being passed to tpm_extend_acpi_log
  Refactor hash_log_event BIOS interface function
  Refactor hash_log_extend_event

 src/tcgbios.c | 273 ++++++++++++++++++++++++++++++++++------------------------
 src/tcgbios.h |   3 +-
 2 files changed, 163 insertions(+), 113 deletions(-)

-- 
2.4.3




More information about the SeaBIOS mailing list