diff options
Diffstat (limited to 'tpm/tpm_int.h')
| -rw-r--r-- | tpm/tpm_int.h | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/tpm/tpm_int.h b/tpm/tpm_int.h index f7056436cc..340bfd52f1 100644 --- a/tpm/tpm_int.h +++ b/tpm/tpm_int.h @@ -15,27 +15,8 @@ #include "exec/memory.h" #include "tpm/tpm_tis.h" -struct TPMDriverOps; -typedef struct TPMDriverOps TPMDriverOps; - -typedef struct TPMPassthruState TPMPassthruState; - -typedef struct TPMBackend { - char *id; - enum TpmModel fe_model; - char *path; - char *cancel_path; - const TPMDriverOps *ops; - - union { - TPMPassthruState *tpm_pt; - } s; - - QLIST_ENTRY(TPMBackend) list; -} TPMBackend; - /* overall state of the TPM interface */ -typedef struct TPMState { +struct TPMState { ISADevice busdev; MemoryRegion mmio; @@ -48,12 +29,10 @@ typedef struct TPMState { char *backend; TPMBackend *be_driver; -} TPMState; +}; #define TPM(obj) OBJECT_CHECK(TPMState, (obj), TYPE_TPM_TIS) -typedef void (TPMRecvDataCB)(TPMState *, uint8_t locty); - struct TPMDriverOps { enum TpmType type; /* get a descriptive text of the backend to display to the user */ |