commit | 77bfcb34bc76ec4ef145392dd49a31d642bd4f5a | [log] [tgz] |
---|---|---|
author | Philip Tricca <philip.b.tricca@intel.com> | Thu Dec 08 11:52:12 2016 -0800 |
committer | Philip Tricca <philip.b.tricca@intel.com> | Wed Jul 05 08:51:28 2017 -0700 |
tree | 3f0dcd7e3e4c4b3113423bdc1bb7f8433d599055 | |
parent | 13ed525809afec6c8e87371bf3dac047f0385919 [diff] |
build: build with gnu99 & cleanup OS detection preprocessor macros Our use of __linux / __unix / linux / unix are all obsolete. The modern equivalent is __linux__ and __unix__. We were also using an inconsistent mess of '#if defined' '#ifdef' and '#if' when checking for these. We're now consistently using '#if defined(__blah__)'. This allows us to use logical operators easily since we're checking for two symbols. Signed-off-by: Philip Tricca <philip.b.tricca@intel.com> Conflicts: resourcemgr/criticalsection.h resourcemgr/criticalsection_linux.c resourcemgr/resourcemgr.c
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.