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

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

Issue 6685075: Add TPM version checking (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git@master
Patch Set: Created 9 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « firmware/lib/vboot_kernel.c ('k') | host/lib/crossystem.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5
6 #include "cgptlib.h" 6 #include "cgptlib.h"
7 #include "load_firmware_fw.h" 7 #include "load_firmware_fw.h"
8 #include "load_kernel_fw.h" 8 #include "load_kernel_fw.h"
9 #include "rollback_index.h" 9 #include "rollback_index.h"
10 #include "tlcl.h" 10 #include "tlcl.h"
(...skipping 13 matching lines...) Expand all
24 /* load_firmware_fw.h */ 24 /* load_firmware_fw.h */
25 UpdateFirmwareBodyHash(0, 0, 0); 25 UpdateFirmwareBodyHash(0, 0, 0);
26 LoadFirmware(0); 26 LoadFirmware(0);
27 27
28 /* load_kernel_fw.h */ 28 /* load_kernel_fw.h */
29 LoadKernel(0); 29 LoadKernel(0);
30 30
31 /* rollback_index.h */ 31 /* rollback_index.h */
32 RollbackS3Resume(); 32 RollbackS3Resume();
33 RollbackFirmwareSetup(0, 0); 33 RollbackFirmwareSetup(0, 0);
34 RollbackFirmwareRead(0);
34 RollbackFirmwareWrite(0); 35 RollbackFirmwareWrite(0);
35 RollbackFirmwareLock(); 36 RollbackFirmwareLock();
36 RollbackKernelRecovery(0); 37 RollbackKernelRecovery(0);
37 RollbackKernelRead(0); 38 RollbackKernelRead(0);
38 RollbackKernelWrite(0); 39 RollbackKernelWrite(0);
39 RollbackKernelLock(); 40 RollbackKernelLock();
40 41
41 /* tpm_bootmode.c */ 42 /* tpm_bootmode.c */
42 SetTPMBootModeState(0, 0, 0); 43 SetTPMBootModeState(0, 0, 0);
43 44
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 VbSharedDataReserve(0, 0); 88 VbSharedDataReserve(0, 0);
88 VbSharedDataSetKernelKey(0, 0); 89 VbSharedDataSetKernelKey(0, 0);
89 90
90 VbNvSetup(0); 91 VbNvSetup(0);
91 VbNvGet(0, 0, 0); 92 VbNvGet(0, 0, 0);
92 VbNvSet(0, 0, 0); 93 VbNvSet(0, 0, 0);
93 VbNvTeardown(0); 94 VbNvTeardown(0);
94 95
95 return 0; 96 return 0;
96 } 97 }
OLDNEW
« no previous file with comments | « firmware/lib/vboot_kernel.c ('k') | host/lib/crossystem.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698