OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |