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

Unified Diff: src/platform/vboot_reference/vboot_firmware/linktest/main.c

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
« no previous file with comments | « src/platform/vboot_reference/vboot_firmware/lib/rollback_index.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/vboot_reference/vboot_firmware/linktest/main.c
diff --git a/src/platform/vboot_reference/vboot_firmware/linktest/main.c b/src/platform/vboot_reference/vboot_firmware/linktest/main.c
index d6496b4153c13a5d1c15c776b87b41915e10aac2..66a450177c2ea3e95fdf45db84af143522cd0c18 100644
--- a/src/platform/vboot_reference/vboot_firmware/linktest/main.c
+++ b/src/platform/vboot_reference/vboot_firmware/linktest/main.c
@@ -9,6 +9,8 @@
int main(void)
{
+ uint16_t x, y;
+
// cgptlib.h
GptInit(0);
GptNextKernelEntry(0, 0, 0);
@@ -36,8 +38,8 @@ int main(void)
// rollback_index.h
SetupTPM();
- GetStoredVersion(0);
- WriteStoredVersion(0, 0);
+ GetStoredVersions(0, &x, &y);
+ WriteStoredVersions(0, 0, 0);
LockFirmwareVersions();
LockKernelVersionsByLockingPP();
« no previous file with comments | « src/platform/vboot_reference/vboot_firmware/lib/rollback_index.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698