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

Unified Diff: src/platform/vboot_reference/vboot_firmware/lib/include/tss_constants.h

Issue 2344002: Add recovery mode protection to new NVRAM locking scheme. (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: typo in comment 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 side-by-side diff with in-line comments
Download patch
Index: src/platform/vboot_reference/vboot_firmware/lib/include/tss_constants.h
diff --git a/src/platform/vboot_reference/vboot_firmware/lib/include/tss_constants.h b/src/platform/vboot_reference/vboot_firmware/lib/include/tss_constants.h
index e14e2e0c38998eec99a7ffca5f65077cbfff0ab7..69873a64b29dca9c593ca1c0b739bffb39e7a0b0 100644
--- a/src/platform/vboot_reference/vboot_firmware/lib/include/tss_constants.h
+++ b/src/platform/vboot_reference/vboot_firmware/lib/include/tss_constants.h
@@ -24,6 +24,8 @@
#define TPM_LARGE_ENOUGH_COMMAND_SIZE 256 /* saves space in the firmware */
#define TPM_SUCCESS ((uint32_t)0x00000000)
+#define TPM_E_BADINDEX ((uint32_t)0x00000002)
+
#define TPM_NV_INDEX0 ((uint32_t)0x00000000)
#define TPM_NV_INDEX_LOCK ((uint32_t)0xffffffff)
#define TPM_NV_PER_WRITE_STCLEAR (((uint32_t)1)<<14)

Powered by Google App Engine
This is Rietveld 408576698