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

Side by Side Diff: vboot_firmware/linktest/main.c

Issue 2792009: Fix normal/recovery mode, and RO firmware vs. RW firmware behavior. (Closed) Base URL: ssh://git@chromiumos-git/vboot_reference.git
Patch Set: add a comment 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 unified diff | Download patch
OLDNEW
1 #include <stdio.h> 1 #include <stdio.h>
2 2
3 #include "cgptlib.h" 3 #include "cgptlib.h"
4 #include "firmware_image_fw.h" 4 #include "firmware_image_fw.h"
5 #include "kernel_image_fw.h" 5 #include "kernel_image_fw.h"
6 #include "load_firmware_fw.h" 6 #include "load_firmware_fw.h"
7 #include "load_kernel_fw.h" 7 #include "load_kernel_fw.h"
8 #include "rollback_index.h" 8 #include "rollback_index.h"
9 #include "tlcl.h" 9 #include "tlcl.h"
10 #include "vboot_common.h" 10 #include "vboot_common.h"
(...skipping 26 matching lines...) Expand all
37 GetLogicalKernelVersion(0); 37 GetLogicalKernelVersion(0);
38 38
39 /* load_firmware_fw.h */ 39 /* load_firmware_fw.h */
40 UpdateFirmwareBodyHash(0, 0); 40 UpdateFirmwareBodyHash(0, 0);
41 LoadFirmware(0); 41 LoadFirmware(0);
42 42
43 /* load_kernel_fw.h */ 43 /* load_kernel_fw.h */
44 LoadKernel(0); 44 LoadKernel(0);
45 45
46 /* rollback_index.h */ 46 /* rollback_index.h */
47 SetupTPM(); 47 SetupTPM(0, 0);
48 GetStoredVersions(0, &x, &y); 48 GetStoredVersions(0, &x, &y);
49 WriteStoredVersions(0, 0, 0); 49 WriteStoredVersions(0, 0, 0);
50 LockFirmwareVersions(); 50 LockFirmwareVersions();
51 LockKernelVersionsByLockingPP(); 51 LockKernelVersionsByLockingPP();
52 52
53 /* tlcl.h */ 53 /* tlcl.h */
54 TlclLibInit(); 54 TlclLibInit();
55 TlclStartup(); 55 TlclStartup();
56 TlclSelftestfull(); 56 TlclSelftestfull();
57 TlclContinueSelfTest(); 57 TlclContinueSelfTest();
(...skipping 27 matching lines...) Expand all
85 85
86 /* vboot_kernel.h */ 86 /* vboot_kernel.h */
87 LoadKernel2(0); 87 LoadKernel2(0);
88 88
89 /* vboot_firmware.h */ 89 /* vboot_firmware.h */
90 UpdateFirmwareBodyHash2(0, 0); 90 UpdateFirmwareBodyHash2(0, 0);
91 LoadFirmware2(0); 91 LoadFirmware2(0);
92 92
93 return 0; 93 return 0;
94 } 94 }
OLDNEW
« vboot_firmware/lib/vboot_firmware.c ('K') | « vboot_firmware/lib/vboot_firmware.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698