diff options
author | Stefan Berger <stefanb@linux.ibm.com> | 2020-01-21 15:01:43 -0500 |
---|---|---|
committer | Alexey Kardashevskiy <aik@ozlabs.ru> | 2020-02-21 14:03:07 +1100 |
commit | a2ffcd9d65e142ec28ec97aac24bd67f15669040 (patch) | |
tree | ba1364c78100f97396bb837530186c93870849da /include/helpers.h | |
parent | 4f18bac8b0e3a606972e92446e06d6c841bb4960 (diff) | |
download | SLOF-a2ffcd9d65e142ec28ec97aac24bd67f15669040.zip SLOF-a2ffcd9d65e142ec28ec97aac24bd67f15669040.tar.gz SLOF-a2ffcd9d65e142ec28ec97aac24bd67f15669040.tar.bz2 |
tpm: Add TPM CRQ driver implementation
This patch adds a TPM driver for the CRQ interface as used by
the QEMU PAPR implementation.
Also add a Readme that explains the benefits and installation procedure
for the vTPM.
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'include/helpers.h')
-rw-r--r-- | include/helpers.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/helpers.h b/include/helpers.h index 9a06a5c..2f460d6 100644 --- a/include/helpers.h +++ b/include/helpers.h @@ -44,6 +44,7 @@ extern int SLOF_get_property(const char *node, const char *propname, char **addr, int *len); extern int SLOF_get_keystroke(void); extern void SLOF_reset(void); +extern unsigned long SLOF_get_vtpm_unit(void); #define offset_of(type, member) ((long) &((type *)0)->member) #define container_of(ptr, type, member) ({ \ |