mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00

TPM Emulator is a software-based TPM and MTM emulator. This TPM Emulator recipe creates a static library that is cross-compiled against MiniOS, Xen, LWIP, Newlib, PolarSSL, and the stubdom-specific GMP headers and subsequently used during the cross-compilation and linking of the Xen vTPM and vTPM Manager stubdomains. The current Xen source code is hardcoded to fetch a specific version of this package. The patch files originate from the Xen/stubdom source tree. This recipe provides the flexibility to change version or modify the patches. Signed-off-by: Kurt Bodiker <kurt.bodiker@braintrust-us.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 lines
743 B
Diff
13 lines
743 B
Diff
diff -Naur tpm_emulator-x86_64-back/tpm/tpm_emulator_extern.c tpm_emulator-x86_64/tpm/tpm_emulator_extern.c
|
|
--- a/tpm/tpm_emulator_extern.c 2012-04-27 10:55:46.581963398 -0400
|
|
+++ b/tpm/tpm_emulator_extern.c 2012-04-27 10:56:02.193034152 -0400
|
|
@@ -249,7 +249,7 @@
|
|
#else /* TPM_NO_EXTERN */
|
|
|
|
int (*tpm_extern_init)(void) = NULL;
|
|
-int (*tpm_extern_release)(void) = NULL;
|
|
+void (*tpm_extern_release)(void) = NULL;
|
|
void* (*tpm_malloc)(size_t size) = NULL;
|
|
void (*tpm_free)(/*const*/ void *ptr) = NULL;
|
|
void (*tpm_log)(int priority, const char *fmt, ...) = NULL;
|