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 Support 'boot -1' on arm
details: https://anonhg.NetBSD.org/src/rev/d20b58967a65
branches: trunk
changeset: 1025564:d20b58967a65
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sat Nov 13 00:13:17 2021 +0000
description:
Support 'boot -1' on arm
diffstat:
sys/arch/arm/arm32/arm32_machdep.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 47ea813a8d37 -r d20b58967a65 sys/arch/arm/arm32/arm32_machdep.c
--- a/sys/arch/arm/arm32/arm32_machdep.c Fri Nov 12 22:53:20 2021 +0000
+++ b/sys/arch/arm/arm32/arm32_machdep.c Sat Nov 13 00:13:17 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: arm32_machdep.c,v 1.141 2021/10/31 16:23:47 skrll Exp $ */
+/* $NetBSD: arm32_machdep.c,v 1.142 2021/11/13 00:13:17 jmcneill Exp $ */
/*
* Copyright (c) 1994-1998 Mark Brinicombe.
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: arm32_machdep.c,v 1.141 2021/10/31 16:23:47 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm32_machdep.c,v 1.142 2021/11/13 00:13:17 jmcneill Exp $");
#include "opt_arm_debug.h"
#include "opt_arm_start.h"
@@ -558,6 +558,9 @@
{
int integer;
+ if (get_bootconf_option(args, "-1", BOOTOPT_TYPE_BOOLEAN, &integer))
+ if (integer)
+ boothowto |= RB_MD1;
if (get_bootconf_option(args, "single", BOOTOPT_TYPE_BOOLEAN, &integer)
|| get_bootconf_option(args, "-s", BOOTOPT_TYPE_BOOLEAN, &integer))
if (integer)
Home |
Main Index |
Thread Index |
Old Index