mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-24 02:05:01 +00:00
Add VbSharedData field parsing
R=reinauer@chromium.org BUG=chrome-os-partner:2578 TEST=manual crossystem vdat_timers should show 'LFS=0,0 LF=number1,number2 LK=number3,number4' where number1 < number2 < number3 < number4 crossystem vdat_lfdebug run from a dev mode console, should show 'check=12,0 index=0x00 tpmver=(hex number) lowestver=(hex number)' crossystem vdat_flags run from a dev mode console, flags should be 0x04. Review URL: http://codereview.chromium.org/6685068 Change-Id: Id7b958ae300d10cdcdc1b17a1bb17b7e5069166f
This commit is contained in:
@@ -171,8 +171,8 @@ int main(int argc, char* argv[]) {
|
||||
}
|
||||
|
||||
/* Initialize the shared data area */
|
||||
lkp.shared_data_blob = Malloc(LOAD_FIRMWARE_SHARED_DATA_REC_SIZE);
|
||||
lkp.shared_data_size = LOAD_FIRMWARE_SHARED_DATA_REC_SIZE;
|
||||
lkp.shared_data_blob = Malloc(VB_SHARED_DATA_REC_SIZE);
|
||||
lkp.shared_data_size = VB_SHARED_DATA_REC_SIZE;
|
||||
shared = (VbSharedDataHeader*)lkp.shared_data_blob;
|
||||
if (0 != VbSharedDataInit(shared, lkp.shared_data_size)) {
|
||||
fprintf(stderr, "Unable to init shared data\n");
|
||||
|
||||
Reference in New Issue
Block a user