tpm: move TPMSizedBuffer to tpm_tis.h
Close to where it's being used. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
This commit is contained in:
parent
ed836d9d6b
commit
cfab6da8a7
@ -37,6 +37,11 @@ typedef enum {
|
||||
TPM_TIS_STATE_RECEPTION,
|
||||
} TPMTISState;
|
||||
|
||||
typedef struct TPMSizedBuffer {
|
||||
uint32_t size;
|
||||
uint8_t *buffer;
|
||||
} TPMSizedBuffer;
|
||||
|
||||
/* locality data -- all fields are persisted */
|
||||
typedef struct TPMLocality {
|
||||
TPMTISState state;
|
||||
|
@ -66,11 +66,6 @@ struct TPMBackendClass {
|
||||
void (*handle_request)(TPMBackend *s, TPMBackendCmd cmd);
|
||||
};
|
||||
|
||||
typedef struct TPMSizedBuffer {
|
||||
uint32_t size;
|
||||
uint8_t *buffer;
|
||||
} TPMSizedBuffer;
|
||||
|
||||
struct TPMDriverOps {
|
||||
enum TpmType type;
|
||||
const QemuOptDesc *opts;
|
||||
|
Loading…
Reference in New Issue
Block a user