aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/tpm-crb-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qtest/tpm-crb-test.c')
-rw-r--r--tests/qtest/tpm-crb-test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/qtest/tpm-crb-test.c b/tests/qtest/tpm-crb-test.c
index 632fb7fbd8..ed533900d1 100644
--- a/tests/qtest/tpm-crb-test.c
+++ b/tests/qtest/tpm-crb-test.c
@@ -19,6 +19,9 @@
#include "qemu/module.h"
#include "tpm-emu.h"
+/* Not used but needed for linking */
+uint64_t tpm_tis_base_addr = TPM_TIS_ADDR_BASE;
+
#define TPM_CMD "\x80\x01\x00\x00\x00\x0c\x00\x00\x01\x44\x00\x00"
static void tpm_crb_test(const void *data)