Skip to contentSkip to conversation

vTPM/TPM2: TPM2.0 TIS initialization and self test.

PATCH Superseded Quan Xu 1 participant 1 message Dec 17, 2014

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Quan Xu

author
#0 lore raw

PATCH v2 7/14 vTPM/TPM2: TPM2.0 TIS initialization and self test.

call the TPM 2.0 various registers that allow communication between the TPM 2.0 and platform hardware and software. TPM2_SelfTest causes the TPM 2.0 to perform a test of its capabilities.

---
 extras/mini-os/include/tpm_tis.h |   1 +
 extras/mini-os/tpm_tis.c         | 156 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 157 insertions(+)
extras/mini-os/include/tpm_tis.h +1 -0
index 1faca0d..86e83f1 100644
@@ -36,6 +36,7 @@
 struct tpm_chip;
 
 struct tpm_chip* init_tpm_tis(unsigned long baseaddr, int localities, unsigned int irq);
+struct tpm_chip* init_tpm2_tis(unsigned long baseaddr, int localities, unsigned int irq);
 void shutdown_tpm_tis(struct tpm_chip* tpm);
 
 int tpm_tis_request_locality(struct tpm_chip* tpm, int locality);
extras/mini-os/tpm_tis.c +156 -0

161 lines not on this page · raw message

Signature · 1 line
1.8.3.2