aboutsummaryrefslogtreecommitdiffstats
path: root/src/std
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.vnet.ibm.com>2015-11-21 14:54:43 -0500
committerKevin O'Connor <kevin@koconnor.net>2015-11-22 10:12:35 -0500
commitfbc231b2e838e021f287fb5e057fab1d7b956bee (patch)
tree1db2949388df37c2dfe5bfa80abc24b3357a2d34 /src/std
parent60bb9e9778324f0b7cbbbc11d66ef0c59017be40 (diff)
downloadseabios-fbc231b2e838e021f287fb5e057fab1d7b956bee.tar.gz
tpm: Refactor pass_through_to_tpm
Refactor the signature of the pass_through_to_tpm function to take individual pointers as parameters and introduce pass_through_to_tpm_int as a function to be called with the parameters passed from the BIOS interrupt. Refactor existing callers that now do not have to build up the data structure expected by the BIOS interface. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Diffstat (limited to 'src/std')
-rw-r--r--src/std/tcg.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/std/tcg.h b/src/std/tcg.h
index bbb5a5f8..88b26883 100644
--- a/src/std/tcg.h
+++ b/src/std/tcg.h
@@ -329,15 +329,4 @@ struct tpm_res_sha1complete {
u8 hash[20];
} PACKED;
-struct pttti_extend {
- struct pttti pttti;
- struct tpm_req_extend req;
-} PACKED;
-
-
-struct pttto_extend {
- struct pttto pttto;
- struct tpm_rsp_extend rsp;
-} PACKED;
-
#endif // tcg.h