diff options
author | Daniel De Graaf <dgdegra@tycho.nsa.gov> | 2013-03-21 16:11:21 -0400 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2013-04-12 14:28:17 +0100 |
commit | b05cb51b0605fb7c614e8a78ef03b79eeb06c85a (patch) | |
tree | 8d94f2a794ce8a57d5599781b09b59026b1380aa /stubdom/vtpmmgr/vtpmmgr.c | |
parent | 368fcb52643105d80c4705afa557647c8f7114c5 (diff) | |
download | xen-b05cb51b0605fb7c614e8a78ef03b79eeb06c85a.tar.gz xen-b05cb51b0605fb7c614e8a78ef03b79eeb06c85a.tar.bz2 xen-b05cb51b0605fb7c614e8a78ef03b79eeb06c85a.zip |
mini-os/tpmback: Replace UUID field with opaque pointer
Instead of only recording the UUID field, which may not be of interest
to all tpmback implementations, provide a user-settable opaque pointer
associated with the tpmback instance.
Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Diffstat (limited to 'stubdom/vtpmmgr/vtpmmgr.c')
-rw-r--r-- | stubdom/vtpmmgr/vtpmmgr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stubdom/vtpmmgr/vtpmmgr.c b/stubdom/vtpmmgr/vtpmmgr.c index 563f4e8c58..270ca8a93c 100644 --- a/stubdom/vtpmmgr/vtpmmgr.c +++ b/stubdom/vtpmmgr/vtpmmgr.c @@ -61,7 +61,7 @@ void main_loop(void) { tpmcmd->resp = respbuf; /* Process the command */ - vtpmmgr_handle_cmd(tpmcmd->uuid, tpmcmd); + vtpmmgr_handle_cmd(tpmcmd->opaque, tpmcmd); /* Send response */ tpmback_resp(tpmcmd); |