summaryrefslogtreecommitdiff
path: root/utility/load_kernel_test.c
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2011-03-17 16:10:21 -0700
committerRandall Spangler <rspangler@chromium.org>2011-03-17 16:10:21 -0700
commitf4ba19d81d4fefa0dba4efbdd57dc863138fde3a (patch)
tree74e8c21df11f1953d56a6e05c9e31ac9ab75f2f7 /utility/load_kernel_test.c
parent83c3714ed39459e69d30d22ee087f1119fbb69a4 (diff)
downloadvboot-f4ba19d81d4fefa0dba4efbdd57dc863138fde3a.tar.gz
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
Diffstat (limited to 'utility/load_kernel_test.c')
-rw-r--r--utility/load_kernel_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utility/load_kernel_test.c b/utility/load_kernel_test.c
index d26c7cd4..73a3626a 100644
--- a/utility/load_kernel_test.c
+++ b/utility/load_kernel_test.c
@@ -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");