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 #ifdef VERBOSE_INIT_ARM some format strin...
details: https://anonhg.NetBSD.org/src/rev/d76135857edb
branches: trunk
changeset: 365078:d76135857edb
user: martin <martin%NetBSD.org@localhost>
date: Tue Jul 31 10:31:02 2018 +0000
description:
#ifdef VERBOSE_INIT_ARM some format strings only used in that case.
diffstat:
sys/arch/arm/arm32/arm32_kvminit.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r ba07532245e3 -r d76135857edb sys/arch/arm/arm32/arm32_kvminit.c
--- a/sys/arch/arm/arm32/arm32_kvminit.c Tue Jul 31 09:45:52 2018 +0000
+++ b/sys/arch/arm/arm32/arm32_kvminit.c Tue Jul 31 10:31:02 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: arm32_kvminit.c,v 1.42 2018/07/31 07:00:48 skrll Exp $ */
+/* $NetBSD: arm32_kvminit.c,v 1.43 2018/07/31 10:31:02 martin Exp $ */
/*
* Copyright (c) 2002, 2003, 2005 Genetec Corporation. All rights reserved.
@@ -126,7 +126,7 @@
#include "opt_multiprocessor.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: arm32_kvminit.c,v 1.42 2018/07/31 07:00:48 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm32_kvminit.c,v 1.43 2018/07/31 10:31:02 martin Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -834,10 +834,12 @@
VPRINTF("%22s Physical Virtual Num\n", " ");
VPRINTF("%22s Starting Ending Starting Ending Pages\n", " ");
+#ifdef VERBOSE_INIT_ARM
static const char mem_fmt[] =
"%20s: 0x%08lx 0x%08lx 0x%08lx 0x%08lx %u\n";
static const char mem_fmt_nov[] =
"%20s: 0x%08lx 0x%08lx %zu\n";
+#endif
VPRINTF(mem_fmt, "SDRAM", bmi->bmi_start, bmi->bmi_end - 1,
KERN_PHYSTOV(bmi, bmi->bmi_start), KERN_PHYSTOV(bmi, bmi->bmi_end - 1),
Home |
Main Index |
Thread Index |
Old Index