diff options
author | Daniel De Graaf <dgdegra@tycho.nsa.gov> | 2013-03-21 16:11:22 -0400 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2013-04-12 14:28:17 +0100 |
commit | 9f0cf56683a0efcaa3cda67c534144d335f7ad2c (patch) | |
tree | 85bc2bbcd3927f3410ed68f2adcdff5cb6b65e0f /extras/mini-os/include/tpmback.h | |
parent | b05cb51b0605fb7c614e8a78ef03b79eeb06c85a (diff) | |
download | xen-9f0cf56683a0efcaa3cda67c534144d335f7ad2c.tar.gz xen-9f0cf56683a0efcaa3cda67c534144d335f7ad2c.tar.bz2 xen-9f0cf56683a0efcaa3cda67c534144d335f7ad2c.zip |
mini-os/tpmback: add tpmback_get_peercontext
This allows the XSM label of the TPM's client domain to be retrieved.
Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'extras/mini-os/include/tpmback.h')
-rw-r--r-- | extras/mini-os/include/tpmback.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extras/mini-os/include/tpmback.h b/extras/mini-os/include/tpmback.h index a6cbbf1791..4408986f25 100644 --- a/extras/mini-os/include/tpmback.h +++ b/extras/mini-os/include/tpmback.h @@ -99,4 +99,6 @@ void* tpmback_get_opaque(domid_t domid, unsigned int handle); /* Returns zero if successful, nonzero on failure (no such frontend) */ int tpmback_set_opaque(domid_t domid, unsigned int handle, void* opaque); +/* Get the XSM context of the given domain (using the tpmback event channel) */ +int tpmback_get_peercontext(domid_t domid, unsigned int handle, void* buffer, int buflen); #endif |