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

Side by Side Diff: src/platform/vboot_reference/vboot_firmware/include/rollback_index.h

Issue 2219004: Rearrange vboot_reference directories to isolate external components. (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: Created 10 years, 7 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
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 * 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 #ifndef VBOOT_REFERENCE_ROLLBACK_INDEX_H_ 9 #ifndef VBOOT_REFERENCE_ROLLBACK_INDEX_H_
10 #define VBOOT_REFERENCE_ROLLBACK_INDEX_H_ 10 #define VBOOT_REFERENCE_ROLLBACK_INDEX_H_
(...skipping 16 matching lines...) Expand all
27 #define FIRMWARE_VERSION_NV_INDEX 0x1002 27 #define FIRMWARE_VERSION_NV_INDEX 0x1002
28 #define KERNEL_KEY_VERSION_NV_INDEX 0x1003 28 #define KERNEL_KEY_VERSION_NV_INDEX 0x1003
29 #define KERNEL_VERSION_NV_INDEX 0x1004 29 #define KERNEL_VERSION_NV_INDEX 0x1004
30 30
31 void SetupTPM(void); 31 void SetupTPM(void);
32 uint16_t GetStoredVersion(int type); 32 uint16_t GetStoredVersion(int type);
33 int WriteStoredVersion(int type, uint16_t version); 33 int WriteStoredVersion(int type, uint16_t version);
34 void LockStoredVersion(int type); 34 void LockStoredVersion(int type);
35 35
36 #endif /* VBOOT_REFERENCE_ROLLBACK_INDEX_H_ */ 36 #endif /* VBOOT_REFERENCE_ROLLBACK_INDEX_H_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698