]> git.proxmox.com Git - qemu.git/commit - monitor.c
tpm: reorganize headers and split hardware part
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 2 Apr 2013 16:28:41 +0000 (18:28 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 15 Apr 2013 16:19:25 +0000 (18:19 +0200)
commitbdee56f5466a724f043e6cfcfcf69866cc48cc94
tree342c4de4d6e553b4116860489f671fdba7fd950c
parent3b8acc11d3f60792f9f716f2a93c258e729af980
tpm: reorganize headers and split hardware part

The TPM subsystem does not have a full front-end/back-end separation.
The sole available backend, tpm_passthrough, depends on the data
structures of the sole available frontend, tpm_tis.

However, we can at least try to split the user interface (tpm.c) from the
implementation (hw/tpm).  The patches makes tpm.c not include tpm_int.h,
which is shared between tpm_tis.c and tpm_passthrough.c; instead it
moves more stuff to tpm_backend.h.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
23 files changed:
Makefile.objs
backends/tpm.c
hw/Makefile.objs
hw/tpm/Makefile.objs [new file with mode: 0644]
hw/tpm/tpm_int.h [new file with mode: 0644]
hw/tpm/tpm_passthrough.c [new file with mode: 0644]
hw/tpm/tpm_tis.c [new file with mode: 0644]
hw/tpm/tpm_tis.h [new file with mode: 0644]
include/backends/tpm.h
include/sysemu/tpm.h [new file with mode: 0644]
include/sysemu/tpm_backend_int.h [new file with mode: 0644]
include/tpm/tpm.h [deleted file]
monitor.c
tpm.c [new file with mode: 0644]
tpm/Makefile.objs [deleted file]
tpm/tpm.c [deleted file]
tpm/tpm_backend.c [deleted file]
tpm/tpm_backend.h [deleted file]
tpm/tpm_int.h [deleted file]
tpm/tpm_passthrough.c [deleted file]
tpm/tpm_tis.c [deleted file]
tpm/tpm_tis.h [deleted file]
vl.c