[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [mini-os master] Mini-OS: add EXPORT_SYMBOL() instances to tpm_tis.c
commit ec9bf07942c2354a078bd5381c046e272fca847c Author: Juergen Gross <jgross@xxxxxxxx> AuthorDate: Mon Nov 27 11:25:21 2023 +0100 Commit: Julien Grall <jgrall@xxxxxxxxxx> CommitDate: Mon Dec 4 16:52:57 2023 +0000 Mini-OS: add EXPORT_SYMBOL() instances to tpm_tis.c Add the needed instances of EXPORT_SYMBOL() to tpm_tis.c. Signed-off-by: Juergen Gross <jgross@xxxxxxxx> --- tpm_tis.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tpm_tis.c b/tpm_tis.c index c3998f2..ad95e28 100644 --- a/tpm_tis.c +++ b/tpm_tis.c @@ -673,6 +673,7 @@ int tpm_tis_request_locality(struct tpm_chip* tpm, int l) { printk("REQ LOCALITY FAILURE\n"); return -1; } +EXPORT_SYMBOL(tpm_tis_request_locality); static uint8_t tpm_tis_status(struct tpm_chip* tpm) { return ioread8(TPM_STS(tpm, tpm->locality)); @@ -1264,6 +1265,7 @@ abort_egress: } return NULL; } +EXPORT_SYMBOL(init_tpm_tis); int tpm_tis_cmd(struct tpm_chip* tpm, uint8_t* req, size_t reqlen, uint8_t** resp, size_t* resplen) { @@ -1281,6 +1283,7 @@ int tpm_tis_cmd(struct tpm_chip* tpm, uint8_t* req, size_t reqlen, uint8_t** res memcpy(*resp, tpm->data_buffer, *resplen); return 0; } +EXPORT_SYMBOL(tpm_tis_cmd); #ifdef HAVE_LIBC #include <sys/stat.h> @@ -1392,6 +1395,7 @@ int tpm_tis_open(struct tpm_chip *tpm) return tpm->fd; } +EXPORT_SYMBOL(tpm_tis_open); /* TPM 2.0 */ @@ -1550,4 +1554,5 @@ abort_egress: } return NULL; } +EXPORT_SYMBOL(init_tpm2_tis); #endif -- generated by git-patchbot for /home/xen/git/mini-os.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |