Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/rpi pass cmdline.txt boot arguments to kernel
details: https://anonhg.NetBSD.org/src/rev/9df225ae012f
branches: trunk
changeset: 783759:9df225ae012f
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Mon Jan 07 20:42:24 2013 +0000
description:
pass cmdline.txt boot arguments to kernel
diffstat:
sys/arch/evbarm/rpi/rpi_machdep.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r abaf4568258f -r 9df225ae012f sys/arch/evbarm/rpi/rpi_machdep.c
--- a/sys/arch/evbarm/rpi/rpi_machdep.c Mon Jan 07 20:20:22 2013 +0000
+++ b/sys/arch/evbarm/rpi/rpi_machdep.c Mon Jan 07 20:42:24 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rpi_machdep.c,v 1.19 2012/12/19 15:49:47 skrll Exp $ */
+/* $NetBSD: rpi_machdep.c,v 1.20 2013/01/07 20:42:24 jmcneill Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rpi_machdep.c,v 1.19 2012/12/19 15:49:47 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rpi_machdep.c,v 1.20 2013/01/07 20:42:24 jmcneill Exp $");
#include "opt_evbarm_boardtype.h"
@@ -362,6 +362,8 @@
md_root_setconf(memory_disk, sizeof memory_disk);
#endif
+ if (vcprop_tag_success_p(&vb.vbt_cmdline.tag))
+ strlcpy(bootargs, vb.vbt_cmdline.cmdline, sizeof(bootargs));
boot_args = bootargs;
parse_mi_bootargs(boot_args);
Home |
Main Index |
Thread Index |
Old Index