| Index: utility/tlcl_generator.c | 
| diff --git a/utility/tlcl_generator.c b/utility/tlcl_generator.c | 
| index 927014db620e214a957995a7a10e2cd4261aa564..0b8258b4ad663649082a77bb270004536921b58e 100644 | 
| --- a/utility/tlcl_generator.c | 
| +++ b/utility/tlcl_generator.c | 
| @@ -17,7 +17,7 @@ | 
| #include <stdlib.h> | 
| #include <tss/tcs.h> | 
|  | 
| -#include "tlcl.h" | 
| +#include "sysincludes.h" | 
| #include "tlcl_internal.h" | 
| #include "tpmextras.h" | 
|  | 
| @@ -278,6 +278,25 @@ Command* BuildGetFlagsCommand(void) { | 
| return cmd; | 
| } | 
|  | 
| +Command* BuildGetSTClearFlagsCommand(void) { | 
| +  int size = (kTpmRequestHeaderLength + | 
| +              sizeof(TPM_CAPABILITY_AREA) +   /* capArea */ | 
| +              sizeof(uint32_t) +              /* subCapSize */ | 
| +              sizeof(uint32_t));              /* subCap */ | 
| + | 
| +  Command* cmd = newCommand(TPM_ORD_GetCapability, size); | 
| +  cmd->name = "tpm_getstclearflags_cmd"; | 
| +  AddInitializedField(cmd, kTpmRequestHeaderLength, | 
| +                      sizeof(TPM_CAPABILITY_AREA), TPM_CAP_FLAG); | 
| +  AddInitializedField(cmd, kTpmRequestHeaderLength + | 
| +                      sizeof(TPM_CAPABILITY_AREA), | 
| +                      sizeof(uint32_t), sizeof(uint32_t)); | 
| +  AddInitializedField(cmd, kTpmRequestHeaderLength + | 
| +                      sizeof(TPM_CAPABILITY_AREA) + sizeof(uint32_t), | 
| +                      sizeof(uint32_t), TPM_CAP_FLAG_VOLATILE); | 
| +  return cmd; | 
| +} | 
| + | 
| Command* BuildGetPermissionsCommand(void) { | 
| int size = (kTpmRequestHeaderLength + | 
| sizeof(TPM_CAPABILITY_AREA) +   /* capArea */ | 
| @@ -407,6 +426,7 @@ Command* (*builders[])(void) = { | 
| BuildPhysicalEnableCommand, | 
| BuildPhysicalSetDeactivatedCommand, | 
| BuildGetFlagsCommand, | 
| +  BuildGetSTClearFlagsCommand, | 
| BuildGetPermissionsCommand, | 
| BuildExtendCommand, | 
| }; | 
|  |