aboutsummaryrefslogtreecommitdiff
path: root/CommandDispatcher.c
AgeCommit message (Collapse)Author
2015-09-15generator: update generated commands' codeVadim Bendebury
The new versions of the files were generated after command parser output was sorted by command names. BUG=chromium:501639 TEST=the library builds fine, both on its own and as a component of cr50 Change-Id: I6f225c66c1fdadffbed27d7b967e9326572b19b9 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/299881 Reviewed-by: Utkarsh Sanghi <usanghi@chromium.org>
2015-08-10Implementation files for command marshaling.Jocelyn Bohr
Generated C source and header files which add functions to unmarshal command requests, execute commands, and marshal command responses. This (tenatively) adds all final missing parts of libtpm2. These files are generated from command_generator.py in CL:290556. TEST=$ sudo emerge tpm2 builds libtpm2.a Locally I was able to call ExecCommand to execute TPM2_Startup with success after software TPM initialization. BUG=chromium:501639 CQ-DEPEND=CL:290556 Change-Id: Ieb3f208795a21a172dea25b35027c5aceba7ee08 Reviewed-on: https://chromium-review.googlesource.com/289813 Tested-by: Jocelyn Bohr <bohr@chromium.org> Reviewed-by: Darren Krahn <dkrahn@chromium.org> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org> Commit-Queue: Jocelyn Bohr <bohr@chromium.org>