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

Side by Side Diff: src/platform/vboot_reference/common/include/tlcl.h

Issue 1712018: Vboot Reference: Remove dependency on TrouSers by not including tss/tcs.h (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: Add FIXmes Created 10 years, 8 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
« no previous file with comments | « no previous file | src/platform/vboot_reference/common/include/tss_constants.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
11 /* FIXME(gauravsh):
12 * NOTE: This file is copied over from
13 * src/platform/tpm_lite/src/tlcl/tlcl.h
14 * Ideally, we want to directly include it without having two maintain
15 * duplicate copies in sync. But in the current model, this is hard
16 * to do without breaking standalone compilation.
17 * Eventually tpm_lite should be moved into vboot_reference.
18 */
19
11 #ifndef TPM_LITE_TLCL_H_ 20 #ifndef TPM_LITE_TLCL_H_
12 #define TPM_LITE_TLCL_H_ 21 #define TPM_LITE_TLCL_H_
13 22
14 #include <stdarg.h> 23 #include <stdarg.h>
15 #include <stdint.h> 24 #include <stdint.h>
16 #include <stdio.h> 25 #include <stdio.h>
17 #include <stdlib.h> 26 #include <stdlib.h>
18 27
19 /* Call this first. 28 /* Call this first.
20 */ 29 */
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 84
76 /* Issues a PhysicalSetDeactivated. Pass 0 to activate. Returns result code. 85 /* Issues a PhysicalSetDeactivated. Pass 0 to activate. Returns result code.
77 */ 86 */
78 int TlclPhysicalSetDeactivated(uint8_t flag); 87 int TlclPhysicalSetDeactivated(uint8_t flag);
79 88
80 /* Gets some permanent flags of interest. (Add more here as needed.) 89 /* Gets some permanent flags of interest. (Add more here as needed.)
81 */ 90 */
82 int TlclGetFlags(uint8_t* disable, uint8_t* deactivated); 91 int TlclGetFlags(uint8_t* disable, uint8_t* deactivated);
83 92
84 #endif /* TPM_LITE_TLCL_H_ */ 93 #endif /* TPM_LITE_TLCL_H_ */
OLDNEW
« no previous file with comments | « no previous file | src/platform/vboot_reference/common/include/tss_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698