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

Unified Diff: vboot_firmware/include/rollback_index.h

Issue 2711006: Import recent tpm_lite changes that make all TPM commands return a status. (Closed) Base URL: ssh://git@chromiumos-git/vboot_reference.git
Patch Set: cleanup from gauravsh's feedback 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « vboot_firmware/include/firmware_image_fw.h ('k') | vboot_firmware/include/tlcl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vboot_firmware/include/rollback_index.h
diff --git a/vboot_firmware/include/rollback_index.h b/vboot_firmware/include/rollback_index.h
index e0e9d27b3689b35814ff8cecbd6197f3f97e200b..9be97b9737f04a5152dee8aa3ca249471b1ce698 100644
--- a/vboot_firmware/include/rollback_index.h
+++ b/vboot_firmware/include/rollback_index.h
@@ -28,10 +28,10 @@ extern uint16_t g_kernel_version;
#define KERNEL_BACKUP_IS_VALID_NV_INDEX 0x1005
/* All functions return 0 if successful, non-zero if error */
-int SetupTPM(void);
-int GetStoredVersions(int type, uint16_t* key_version, uint16_t* version);
-int WriteStoredVersions(int type, uint16_t key_version, uint16_t version);
-int LockFirmwareVersions();
-int LockKernelVersionsByLockingPP();
+uint32_t SetupTPM(void);
+uint32_t GetStoredVersions(int type, uint16_t* key_version, uint16_t* version);
+uint32_t WriteStoredVersions(int type, uint16_t key_version, uint16_t version);
+uint32_t LockFirmwareVersions(void);
+uint32_t LockKernelVersionsByLockingPP(void);
#endif /* VBOOT_REFERENCE_ROLLBACK_INDEX_H_ */
« no previous file with comments | « vboot_firmware/include/firmware_image_fw.h ('k') | vboot_firmware/include/tlcl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698