commit | 078c6ee497bfa0d1b29635f68b94cfac026a2a2b | [log] [tgz] |
---|---|---|
author | zhonghong.pzh <zhonghong.pzh@alibaba-inc.com> | Mon Nov 21 11:34:37 2016 -0800 |
committer | Philip Tricca <philip.b.tricca@intel.com> | Mon Nov 21 11:57:25 2016 -0800 |
tree | f663007c0c138155bd59eddb85732a38c7b4d394 | |
parent | 1bda66c8cffb52039af43fcd5a26adfca17e37e6 [diff] |
resourcemgr: Fix race condition on global TCTI context by moving access into critical section. This fixes a threading / mutual exclusion bug that could cause the locality of a command sent by a client to be the locality asserted by another client. Signed-off-by: Philip Tricca <philip.b.tricca@intel.com>
This stack consists of the following layers from top to bottom:
Since the FAPI and ESAPI haven't been implemented yet, this repository only contains the SAPI and layers below it, plus a test application for exercising the SAPI.
The test application, tpmclient, tests many of the commands against the TPM 2.0 simulator. The tpmclient application can be altered and used as a sandbox to test and develop any TPM 2.0 command sequences, and provides an excellent development and learning vehicle.
TPM 2.0 specifications can be found at Trusted Computing Group.