mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-24 10:32:02 -06:00
QOM-ify the TPM support
QOM-ified the TPM support with much code borrowed from the rng implementation. All other TPM related code moves will be provided in a subsequent patch. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Message-id: 1364469981.24703.1.camel@d941e-10 Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
684a096eaf
commit
8f0605cc9c
8 changed files with 413 additions and 59 deletions
|
@ -14,6 +14,10 @@
|
|||
|
||||
#include "qemu/option.h"
|
||||
|
||||
typedef struct TPMState TPMState;
|
||||
typedef struct TPMSizedBuffer TPMSizedBuffer;
|
||||
typedef void (TPMRecvDataCB)(TPMState *, uint8_t locty);
|
||||
|
||||
int tpm_config_parse(QemuOptsList *opts_list, const char *optarg);
|
||||
int tpm_init(void);
|
||||
void tpm_cleanup(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue