Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm32 Handle boot option -x (alias 'debug') and...
details: https://anonhg.NetBSD.org/src/rev/42df4e5bd058
branches: trunk
changeset: 337324:42df4e5bd058
user: bouyer <bouyer%NetBSD.org@localhost>
date: Sat Apr 11 13:37:59 2015 +0000
description:
Handle boot option -x (alias 'debug') and set AB_DEBUG in boothowto.
diffstat:
sys/arch/arm/arm32/arm32_machdep.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r 63642cfd2677 -r 42df4e5bd058 sys/arch/arm/arm32/arm32_machdep.c
--- a/sys/arch/arm/arm32/arm32_machdep.c Sat Apr 11 12:54:41 2015 +0000
+++ b/sys/arch/arm/arm32/arm32_machdep.c Sat Apr 11 13:37:59 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: arm32_machdep.c,v 1.108 2014/11/19 10:01:50 martin Exp $ */
+/* $NetBSD: arm32_machdep.c,v 1.109 2015/04/11 13:37:59 bouyer Exp $ */
/*
* Copyright (c) 1994-1998 Mark Brinicombe.
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: arm32_machdep.c,v 1.108 2014/11/19 10:01:50 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm32_machdep.c,v 1.109 2015/04/11 13:37:59 bouyer Exp $");
#include "opt_modular.h"
#include "opt_md.h"
@@ -575,6 +575,10 @@
|| get_bootconf_option(args, "-v", BOOTOPT_TYPE_BOOLEAN, &integer))
if (integer)
boothowto |= AB_VERBOSE;
+ if (get_bootconf_option(args, "debug", BOOTOPT_TYPE_BOOLEAN, &integer)
+ || get_bootconf_option(args, "-x", BOOTOPT_TYPE_BOOLEAN, &integer))
+ if (integer)
+ boothowto |= AB_DEBUG;
}
#ifdef __HAVE_FAST_SOFTINTS
Home |
Main Index |
Thread Index |
Old Index