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

Unified Diff: utility/load_kernel_test.c

Issue 6594092: Support NvStorage and kernkey_vfy in LoadKernel() (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git@master
Patch Set: Fix comment Created 9 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « firmware/lib/vboot_kernel.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utility/load_kernel_test.c
diff --git a/utility/load_kernel_test.c b/utility/load_kernel_test.c
index 38e4104fdc1cbe9a29661ffb16a67f8bbf9dec34..8d95ef0c26c36766a3f148347a50fca8fd7ebca0 100644
--- a/utility/load_kernel_test.c
+++ b/utility/load_kernel_test.c
@@ -26,6 +26,7 @@
/* Global variables for stub functions */
static LoadKernelParams lkp;
+static VbNvContext vnc;
static FILE *image_file = NULL;
@@ -83,6 +84,8 @@ int main(int argc, char* argv[]) {
Memset(&lkp, 0, sizeof(LoadKernelParams));
lkp.bytes_per_lba = LBA_BYTES;
lkp.boot_flags = BOOT_FLAG_RECOVERY;
+ Memset(&vnc, 0, sizeof(VbNvContext));
+ lkp.nv_context = &vnc;
/* Parse options */
opterr = 0;
« no previous file with comments | « firmware/lib/vboot_kernel.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698