summaryrefslogtreecommitdiff
path: root/src/tcgbios.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2015-11-22 18:21:45 -0500
committerKevin O'Connor <kevin@koconnor.net>2015-11-23 22:54:33 -0500
commit7ba0568234c91432f54c9a65511c7d02b3b51eb0 (patch)
treea8acb9762dade295684c45ab05025e2c163f1a2f /src/tcgbios.h
parentb82bc5109e8366d5fb9cb9015e1c6d3e187de369 (diff)
downloadqemu-seabios-7ba0568234c91432f54c9a65511c7d02b3b51eb0.tar.gz
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>
Diffstat (limited to 'src/tcgbios.h')
-rw-r--r--src/tcgbios.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/tcgbios.h b/src/tcgbios.h
index 0f9d5c3..4d69b1e 100644
--- a/src/tcgbios.h
+++ b/src/tcgbios.h
@@ -3,14 +3,6 @@
#include "types.h"
-#define STATUS_FLAG_SHUTDOWN (1 << 0)
-
-struct iovec
-{
- size_t length;
- const void *data;
-};
-
struct bregs;
void tpm_interrupt_handler32(struct bregs *regs);