Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Side by Side Diff: firmware/lib/tpm_lite/include/tlcl.h

Issue 3232006: Add resume command (TPM_Startup(ST_STATE)) (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | firmware/lib/tpm_lite/include/tlcl_structures.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 /* TPM Lightweight Command Library. 6 /* TPM Lightweight Command Library.
7 * 7 *
8 * A low-level library for interfacing to TPM hardware or an emulator. 8 * A low-level library for interfacing to TPM hardware or an emulator.
9 */ 9 */
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 /* Sets the log level. 0 is quietest. 46 /* Sets the log level. 0 is quietest.
47 */ 47 */
48 void TlclSetLogLevel(int level); 48 void TlclSetLogLevel(int level);
49 49
50 /* Sends a TPM_Startup(ST_CLEAR). The TPM error code is returned (0 50 /* Sends a TPM_Startup(ST_CLEAR). The TPM error code is returned (0
51 * for success). 51 * for success).
52 */ 52 */
53 uint32_t TlclStartup(void); 53 uint32_t TlclStartup(void);
54 54
55 /* Run the self test. Note---this is synchronous. To run this in parallel 55 /* Resumes by sending a TPM_Startup(ST_STATE). The TPM error code is returned
56 * (0 for success).
57 */
58 uint32_t TlclResume(void);
59
60 /* Runs the self test. Note---this is synchronous. To run this in parallel
56 * with other firmware, use ContinueSelfTest. The TPM error code is returned. 61 * with other firmware, use ContinueSelfTest. The TPM error code is returned.
57 */ 62 */
58 uint32_t TlclSelfTestFull(void); 63 uint32_t TlclSelfTestFull(void);
59 64
60 /* Runs the self test in the background. 65 /* Runs the self test in the background.
61 */ 66 */
62 uint32_t TlclContinueSelfTest(void); 67 uint32_t TlclContinueSelfTest(void);
63 68
64 /* Defines a space with permission [perm]. [index] is the index for the space, 69 /* Defines a space with permission [perm]. [index] is the index for the space,
65 * [size] the usable data size. The TPM error code is returned. 70 * [size] the usable data size. The TPM error code is returned.
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 151
147 /* Gets the entire set of permanent flags. 152 /* Gets the entire set of permanent flags.
148 */ 153 */
149 uint32_t TlclGetPermanentFlags(TPM_PERMANENT_FLAGS* pflags); 154 uint32_t TlclGetPermanentFlags(TPM_PERMANENT_FLAGS* pflags);
150 155
151 /* Gets the entire set of volatile (ST_CLEAR) flags. 156 /* Gets the entire set of volatile (ST_CLEAR) flags.
152 */ 157 */
153 uint32_t TlclGetSTClearFlags(TPM_STCLEAR_FLAGS* pflags); 158 uint32_t TlclGetSTClearFlags(TPM_STCLEAR_FLAGS* pflags);
154 159
155 #endif /* TPM_LITE_TLCL_H_ */ 160 #endif /* TPM_LITE_TLCL_H_ */
OLDNEW
« no previous file with comments | « no previous file | firmware/lib/tpm_lite/include/tlcl_structures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698