]> xenbits.xensource.com Git - osstest/seabios.git/commit
tpm: Don't implement scatter-gather in transmit()
authorKevin O'Connor <kevin@koconnor.net>
Sun, 22 Nov 2015 23:21:45 +0000 (18:21 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Tue, 24 Nov 2015 03:54:33 +0000 (22:54 -0500)
commit7ba0568234c91432f54c9a65511c7d02b3b51eb0
treea8acb9762dade295684c45ab05025e2c163f1a2f
parentb82bc5109e8366d5fb9cb9015e1c6d3e187de369
tpm: Don't implement scatter-gather in transmit()

There are no longer any callers to transmit() that use multiple
buffers.  Simplify transmit() so that it takes a single request
buffer.

The pass_through_to_tpm() wrapper around transmit() is no longer
needed.  Remove the function and have all callers use transmit()
directly.

Now that tpm_extend() function calls transmit directly, it can use
TPM_DURATION_TYPE_SHORT duration.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/std/tcg.h
src/tcgbios.c
src/tcgbios.h