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

Side by Side Diff: vboot_firmware/include/tlcl.h

Issue 2786005: Protect the kernel version space from redefinition. (Closed) Base URL: ssh://git@chromiumos-git/vboot_reference.git
Patch Set: several small fixes Created 10 years, 6 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 | « vboot_firmware/include/rollback_index.h ('k') | vboot_firmware/lib/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
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 /* Gets flags of interest. (Add more here as needed.) The TPM error code is 103 /* Gets flags of interest. (Add more here as needed.) The TPM error code is
104 * returned. 104 * returned.
105 */ 105 */
106 uint32_t TlclGetFlags(uint8_t* disable, uint8_t* deactivated); 106 uint32_t TlclGetFlags(uint8_t* disable, uint8_t* deactivated);
107 107
108 /* Sets the bGlobalLock flag, which only a reboot can clear. The TPM error 108 /* Sets the bGlobalLock flag, which only a reboot can clear. The TPM error
109 * code is returned. 109 * code is returned.
110 */ 110 */
111 uint32_t TlclSetGlobalLock(void); 111 uint32_t TlclSetGlobalLock(void);
112 112
113 /* Gets the permission bits for the NVRAM space with |index|.
114 */
115 uint32_t TlclGetPermissions(uint32_t index, uint32_t* permissions);
116
113 #endif /* TPM_LITE_TLCL_H_ */ 117 #endif /* TPM_LITE_TLCL_H_ */
OLDNEW
« no previous file with comments | « vboot_firmware/include/rollback_index.h ('k') | vboot_firmware/lib/include/tss_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698