[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] xen: arm: early logging of command line
commit 9bc72c626512d7d79a7f0295fbfa7cd597ce620a Author: Ian Campbell <ian.campbell@xxxxxxxxxx> AuthorDate: Fri Nov 22 16:24:27 2013 +0000 Commit: Ian Campbell <ian.campbell@xxxxxxxxxx> CommitDate: Fri Nov 22 16:35:11 2013 +0000 xen: arm: early logging of command line Helpful for diagnosis of bad console= parameters. Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx> Acked-by: Julien Grall <julien.grall@xxxxxxxxxx> Acked-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> --- xen/arch/arm/setup.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c index cdcc2e7..b032030 100644 --- a/xen/arch/arm/setup.c +++ b/xen/arch/arm/setup.c @@ -596,6 +596,7 @@ void __init start_xen(unsigned long boot_phys_offset, { size_t fdt_size; int cpus, i; + const char *cmdline; setup_cache(); @@ -609,7 +610,9 @@ void __init start_xen(unsigned long boot_phys_offset, + (fdt_paddr & ((1 << SECOND_SHIFT) - 1)); fdt_size = device_tree_early_init(device_tree_flattened, fdt_paddr); - cmdline_parse(device_tree_bootargs(device_tree_flattened)); + cmdline = device_tree_bootargs(device_tree_flattened); + early_printk("Command line: %s\n", cmdline); + cmdline_parse(cmdline); setup_pagetables(boot_phys_offset, get_xen_paddr()); setup_mm(fdt_paddr, fdt_size); -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |