| OLD | NEW |
| 1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
| 4 */ | 4 */ |
| 5 | 5 |
| 6 /* Testing: ownership testing code, ForceClear, and nvram write limit. | 6 /* Testing: ownership testing code, ForceClear, and nvram write limit. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 #include "tlcl.h" | 9 #include "tlcl.h" |
| 10 | 10 |
| 11 int main(int argc, char** argv) { | 11 int main(int argc, char** argv) { |
| 12 | 12 |
| 13 TlclLibInit(); | 13 TlclLibInit(); |
| 14 TlclStartup(); | 14 TlclStartup(); |
| 15 TlclSelftestfull(); | 15 TlclSelfTestFull(); |
| 16 | 16 |
| 17 TlclAssertPhysicalPresence(); | 17 TlclAssertPhysicalPresence(); |
| 18 TlclSetEnable(); | 18 TlclSetEnable(); |
| 19 (void) TlclSetDeactivated(0); // activates the TPM at the next boot | 19 (void) TlclSetDeactivated(0); // activates the TPM at the next boot |
| 20 | 20 |
| 21 return 0; | 21 return 0; |
| 22 } | 22 } |
| OLD | NEW |