| Index: utility/tlcl_generator.c
|
| diff --git a/utility/tlcl_generator.c b/utility/tlcl_generator.c
|
| index efb0f341df758d7544febe224e4a471d3d413946..86b7e4edff2d8a93f8f5e3fad8346d4eee1d18a9 100644
|
| --- a/utility/tlcl_generator.c
|
| +++ b/utility/tlcl_generator.c
|
| @@ -222,6 +222,13 @@ Command* BuildStartupCommand(void) {
|
| return cmd;
|
| }
|
|
|
| +Command* BuildSaveStateCommand(void) {
|
| + int size = kTpmRequestHeaderLength;
|
| + Command* cmd = newCommand(TPM_ORD_SaveState, size);
|
| + cmd->name = "tpm_savestate_cmd";
|
| + return cmd;
|
| +}
|
| +
|
| Command* BuildResumeCommand(void) {
|
| int size = kTpmRequestHeaderLength + sizeof(TPM_STARTUP_TYPE);
|
| Command* cmd = newCommand(TPM_ORD_Startup, size);
|
| @@ -452,6 +459,7 @@ Command* (*builders[])(void) = {
|
| BuildPPLockCommand,
|
| BuildFinalizePPCommand,
|
| BuildStartupCommand,
|
| + BuildSaveStateCommand,
|
| BuildResumeCommand,
|
| BuildSelftestfullCommand,
|
| BuildContinueSelfTestCommand,
|
|
|