Loading tpm/tpm_int.h +2 −7 Original line number Diff line number Diff line Loading @@ -15,11 +15,8 @@ #include "exec/memory.h" #include "tpm/tpm_tis.h" struct TPMDriverOps; typedef struct TPMDriverOps TPMDriverOps; /* overall state of the TPM interface */ typedef struct TPMState { struct TPMState { ISADevice busdev; MemoryRegion mmio; Loading @@ -32,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 */ Loading tpm/tpm_tis.h +2 −2 Original line number Diff line number Diff line Loading @@ -35,10 +35,10 @@ #define TYPE_TPM_TIS "tpm-tis" typedef struct TPMSizedBuffer { struct TPMSizedBuffer { uint32_t size; uint8_t *buffer; } TPMSizedBuffer; }; typedef enum { TPM_TIS_STATE_IDLE = 0, Loading Loading
tpm/tpm_int.h +2 −7 Original line number Diff line number Diff line Loading @@ -15,11 +15,8 @@ #include "exec/memory.h" #include "tpm/tpm_tis.h" struct TPMDriverOps; typedef struct TPMDriverOps TPMDriverOps; /* overall state of the TPM interface */ typedef struct TPMState { struct TPMState { ISADevice busdev; MemoryRegion mmio; Loading @@ -32,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 */ Loading
tpm/tpm_tis.h +2 −2 Original line number Diff line number Diff line Loading @@ -35,10 +35,10 @@ #define TYPE_TPM_TIS "tpm-tis" typedef struct TPMSizedBuffer { struct TPMSizedBuffer { uint32_t size; uint8_t *buffer; } TPMSizedBuffer; }; typedef enum { TPM_TIS_STATE_IDLE = 0, Loading