Module Name: src
Committed By: skrll
Date: Wed Oct 31 09:31:01 UTC 2018
Modified Files:
src/sys/arch/arm/arm32: arm32_boot.c
Log Message:
Tidyup VERBOSE_INIT_ARM output
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/arm/arm32/arm32_boot.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/arm32/arm32_boot.c
diff -u src/sys/arch/arm/arm32/arm32_boot.c:1.26 src/sys/arch/arm/arm32/arm32_boot.c:1.27
--- src/sys/arch/arm/arm32/arm32_boot.c:1.26 Sun Oct 28 14:30:30 2018
+++ src/sys/arch/arm/arm32/arm32_boot.c Wed Oct 31 09:31:01 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: arm32_boot.c,v 1.26 2018/10/28 14:30:30 skrll Exp $ */
+/* $NetBSD: arm32_boot.c,v 1.27 2018/10/31 09:31:01 skrll Exp $ */
/*
* Copyright (c) 2002, 2003, 2005 Genetec Corporation. All rights reserved.
@@ -122,7 +122,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: arm32_boot.c,v 1.26 2018/10/28 14:30:30 skrll Exp $");
+__KERNEL_RCSID(1, "$NetBSD: arm32_boot.c,v 1.27 2018/10/31 09:31:01 skrll Exp $");
#include "opt_arm_debug.h"
#include "opt_cputypes.h"
@@ -263,12 +263,13 @@ initarm_common(vaddr_t kvm_base, vsize_t
uvm_page_physload(start, end, start, end, VM_FREELIST_DEFAULT);
continue;
}
+ VPRINTF("\n");
paddr_t segend = end;
for (size_t j = 0; j < nbp; j++ /*, start = segend, segend = end */) {
paddr_t bp_start = bp[j].bp_start;
paddr_t bp_end = bp_start + bp[j].bp_pages;
- VPRINTF("\n bp %2zu start %08lx end %08lx\n",
+ VPRINTF(" bp %2zu start %08lx end %08lx\n",
j, ptoa(bp_start), ptoa(bp_end));
KASSERT(bp_start < bp_end);
if (start > bp_end || segend < bp_start)
@@ -286,7 +287,7 @@ initarm_common(vaddr_t kvm_base, vsize_t
uvm_page_physload(start, segend, start, segend,
vm_freelist);
VPRINTF(" start %08lx end %08lx"
- "... loading in freelist %d", ptoa(start),
+ "... loading in freelist %d\n", ptoa(start),
ptoa(segend), vm_freelist);
start = segend;
segend = end;