Created a code generator for TPM 2.0 structures and commands.

The generator generates declarations for all types and all command
methods. This CL does not generate the implementation of these methods.

BUG=chromium:372002
TEST=ran unit tests
     manual inspection, lint, and compilation of generated code

Change-Id: Ica564c96241b998a6a1a3e9f9203c5f357745d4f
Reviewed-on: https://chromium-review.googlesource.com/200097
Reviewed-by: Luigi Semenzato <semenzato@chromium.org>
Commit-Queue: Darren Krahn <dkrahn@chromium.org>
Tested-by: Darren Krahn <dkrahn@chromium.org>
2 files changed