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

Unified Diff: utility/load_kernel_test.c

Issue 2866006: Move old vkernel code out of vboot_firmware. (Closed) Base URL: ssh://gitrw.chromium.org/vboot_reference.git
Patch Set: Created 10 years, 6 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 | « utility/Makefile ('k') | utility/load_kernel_test_old.c » ('j') | 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 32c02c9ae7b4adac5f11bee045a8e7db7032f5d7..ebeeb43a9a2a80013092d6b000ecb3af165743a2 100644
--- a/utility/load_kernel_test.c
+++ b/utility/load_kernel_test.c
@@ -18,6 +18,7 @@
#include "host_common.h"
#include "rollback_index.h"
#include "utility.h"
+#include "vboot_kernel.h"
/* ANSI Color coding sequences. */
#define COL_GREEN "\e[1;32m"
@@ -123,8 +124,10 @@ int main(int argc, char* argv[]) {
return 1;
}
- /* TODO: Option for boot mode */
- lkp.boot_flags = 0;
+ /* TODO: Option for boot mode - developer, recovery */
+ /* Need to skip the address check, since we're putting it somewhere on the
+ * heap instead of its actual target address in the firmware. */
+ lkp.boot_flags = BOOT_FLAG_SKIP_ADDR_CHECK;
/* Call LoadKernel() */
rv = LoadKernel(&lkp);
« no previous file with comments | « utility/Makefile ('k') | utility/load_kernel_test_old.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698