diff options
author | Stefan Berger <stefanb@linux.vnet.ibm.com> | 2013-03-28 07:26:21 -0400 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-04-02 08:15:18 -0500 |
commit | 8f0605cc9caacbcc647a6df9ae541ed2da4b9bb0 (patch) | |
tree | 384017221d7b4dbf02fc246e314e0a89dcc32ca0 /include/tpm | |
parent | 684a096eafbe37ab6c9a1fdb5e0185f04098b166 (diff) | |
download | qemu-8f0605cc9caacbcc647a6df9ae541ed2da4b9bb0.zip qemu-8f0605cc9caacbcc647a6df9ae541ed2da4b9bb0.tar.gz qemu-8f0605cc9caacbcc647a6df9ae541ed2da4b9bb0.tar.bz2 |
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>
Diffstat (limited to 'include/tpm')
-rw-r--r-- | include/tpm/tpm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/tpm/tpm.h b/include/tpm/tpm.h index cc8f20e..2d457c4 100644 --- a/include/tpm/tpm.h +++ b/include/tpm/tpm.h @@ -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); |