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

Side by Side Diff: firmware/lib/tpm_lite/include/tlcl_structures.h

Issue 6719005: Cherry-pick vboot_reference files from TOT to support crossystem (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git@0.11.257.B
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/tpm_bootmode.c ('k') | firmware/lib/tpm_lite/tlcl.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 /* This file is automatically generated */ 1 /* This file is automatically generated */
2 2
3 const struct s_tpm_extend_cmd{ 3 const struct s_tpm_extend_cmd{
4 uint8_t buffer[34]; 4 uint8_t buffer[34];
5 uint16_t pcrNum; 5 uint16_t pcrNum;
6 uint16_t inDigest; 6 uint16_t inDigest;
7 } tpm_extend_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0x22, 0x0, 0x0, 0x0, 0x14, }, 7 } tpm_extend_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0x22, 0x0, 0x0, 0x0, 0x14, },
8 10, 14, }; 8 10, 14, };
9 9
10 const struct s_tpm_getpermissions_cmd{ 10 const struct s_tpm_getpermissions_cmd{
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 const struct s_tpm_selftestfull_cmd{ 57 const struct s_tpm_selftestfull_cmd{
58 uint8_t buffer[10]; 58 uint8_t buffer[10];
59 } tpm_selftestfull_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xa, 0x0, 0x0, 0x0, 0x50, } , 59 } tpm_selftestfull_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xa, 0x0, 0x0, 0x0, 0x50, } ,
60 }; 60 };
61 61
62 const struct s_tpm_resume_cmd{ 62 const struct s_tpm_resume_cmd{
63 uint8_t buffer[12]; 63 uint8_t buffer[12];
64 } tpm_resume_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xc, 0x0, 0x0, 0x0, 0x99, 0x0, 0x 2, }, 64 } tpm_resume_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xc, 0x0, 0x0, 0x0, 0x99, 0x0, 0x 2, },
65 }; 65 };
66 66
67 const struct s_tpm_savestate_cmd{
68 uint8_t buffer[10];
69 } tpm_savestate_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xa, 0x0, 0x0, 0x0, 0x98, },
70 };
71
67 const struct s_tpm_startup_cmd{ 72 const struct s_tpm_startup_cmd{
68 uint8_t buffer[12]; 73 uint8_t buffer[12];
69 } tpm_startup_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xc, 0x0, 0x0, 0x0, 0x99, 0x0, 0 x1, }, 74 } tpm_startup_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xc, 0x0, 0x0, 0x0, 0x99, 0x0, 0 x1, },
70 }; 75 };
71 76
72 const struct s_tpm_finalizepp_cmd{ 77 const struct s_tpm_finalizepp_cmd{
73 uint8_t buffer[12]; 78 uint8_t buffer[12];
74 } tpm_finalizepp_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xc, 0x40, 0x0, 0x0, 0xa, 0x2 , 0xa0, }, 79 } tpm_finalizepp_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xc, 0x40, 0x0, 0x0, 0xa, 0x2 , 0xa0, },
75 }; 80 };
76 81
(...skipping 30 matching lines...) Expand all
107 const struct s_tpm_nv_definespace_cmd{ 112 const struct s_tpm_nv_definespace_cmd{
108 uint8_t buffer[101]; 113 uint8_t buffer[101];
109 uint16_t index; 114 uint16_t index;
110 uint16_t perm; 115 uint16_t perm;
111 uint16_t size; 116 uint16_t size;
112 } tpm_nv_definespace_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0x65, 0x0, 0x0, 0x0, 0xcc , 0x0, 0x18, 0, 0, 0, 0, 0x0, 0x3, 0, 0, 0, 0x1f, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x0, 0x3, 0, 0, 0, 0x1f, 0, 0, 0, 0, 0, 0, 0, 0, 0 , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x0, 0x17, }, 117 } tpm_nv_definespace_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0x65, 0x0, 0x0, 0x0, 0xcc , 0x0, 0x18, 0, 0, 0, 0, 0x0, 0x3, 0, 0, 0, 0x1f, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x0, 0x3, 0, 0, 0, 0x1f, 0, 0, 0, 0, 0, 0, 0, 0, 0 , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x0, 0x17, },
113 12, 70, 77, }; 118 12, 70, 77, };
114 119
115 const int kWriteInfoLength = 12; 120 const int kWriteInfoLength = 12;
116 const int kNvDataPublicPermissionsOffset = 60; 121 const int kNvDataPublicPermissionsOffset = 60;
OLDNEW
« no previous file with comments | « firmware/lib/tpm_bootmode.c ('k') | firmware/lib/tpm_lite/tlcl.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698