aboutsummaryrefslogtreecommitdiff
path: root/Marshal_PolicyNvWritten.c
diff options
context:
space:
mode:
authorJocelyn Bohr <bohr@chromium.org>2015-08-05 10:18:23 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-08-10 19:58:56 +0000
commitd02d5b7076ec51d855c61a67897286b80ef436c2 (patch)
tree9644cad9d9d6140b54fdef02d3d90f399b8d5234 /Marshal_PolicyNvWritten.c
parentfb668129d13e02e4f9feec53d519df84d96bb5fd (diff)
downloadtpm2-d02d5b7076ec51d855c61a67897286b80ef436c2.tar.gz
Scripts to generate functions for command marshaling.
- command_generator.py (modified from platform2/trunks) * Takes in file as outputted by extract_commands.sh and outputs C code to unmarshal command request arguments, execute command, and marshal command response arguments. * Input: commands.txt * Output: $COMMAND_fp.h, Marshal_$COMMAND.c, CommandDispatcher.c, HandleProcess.c - generator.py * Invokes structure_generator.py and command_generator.py. This is needed because command_generator uses typemap outputted by structure_generator. It is also more readable. TEST=Generated code builds with libtpm2. BUG=chromium:501639 CQ-DEPEND=CL:289805 Change-Id: Ie83b70251c71629cefb135218e7fd1daf479a182 Reviewed-on: https://chromium-review.googlesource.com/290556 Reviewed-by: Jocelyn Bohr <bohr@chromium.org> Reviewed-by: Darren Krahn <dkrahn@chromium.org> Commit-Queue: Jocelyn Bohr <bohr@chromium.org> Tested-by: Jocelyn Bohr <bohr@chromium.org>
Diffstat (limited to 'Marshal_PolicyNvWritten.c')
0 files changed, 0 insertions, 0 deletions