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 * Functions for querying, manipulating and locking rollback indices | 5 * Functions for querying, manipulating and locking rollback indices |
6 * stored in the TPM NVRAM. | 6 * stored in the TPM NVRAM. |
7 */ | 7 */ |
8 | 8 |
9 #include "rollback_index.h" | 9 #include "rollback_index.h" |
10 | 10 |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 TlclWriteLock(FIRMWARE_VERSION_NV_INDEX); | 140 TlclWriteLock(FIRMWARE_VERSION_NV_INDEX); |
141 break; | 141 break; |
142 case KERNEL_KEY_VERSION: | 142 case KERNEL_KEY_VERSION: |
143 TlclWriteLock(KERNEL_KEY_VERSION_NV_INDEX); | 143 TlclWriteLock(KERNEL_KEY_VERSION_NV_INDEX); |
144 break; | 144 break; |
145 case KERNEL_VERSION: | 145 case KERNEL_VERSION: |
146 TlclWriteLock(KERNEL_VERSION_NV_INDEX); | 146 TlclWriteLock(KERNEL_VERSION_NV_INDEX); |
147 break; | 147 break; |
148 } | 148 } |
149 } | 149 } |
OLD | NEW |