Module Name: src Committed By: skrll Date: Mon Jul 15 08:44:33 UTC 2019
Modified Files: src/sys/arch/evbarm/fdt: fdt_machdep.c Log Message: Fix and improve a VPRINTF To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/sys/arch/evbarm/fdt/fdt_machdep.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/evbarm/fdt/fdt_machdep.c diff -u src/sys/arch/evbarm/fdt/fdt_machdep.c:1.62 src/sys/arch/evbarm/fdt/fdt_machdep.c:1.63 --- src/sys/arch/evbarm/fdt/fdt_machdep.c:1.62 Wed Apr 24 06:37:31 2019 +++ src/sys/arch/evbarm/fdt/fdt_machdep.c Mon Jul 15 08:44:33 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: fdt_machdep.c,v 1.62 2019/04/24 06:37:31 skrll Exp $ */ +/* $NetBSD: fdt_machdep.c,v 1.63 2019/07/15 08:44:33 skrll Exp $ */ /*- * Copyright (c) 2015-2017 Jared McNeill <jmcne...@invisible.ca> @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: fdt_machdep.c,v 1.62 2019/04/24 06:37:31 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: fdt_machdep.c,v 1.63 2019/07/15 08:44:33 skrll Exp $"); #include "opt_machdep.h" #include "opt_bootconfig.h" @@ -571,9 +571,11 @@ initarm(void *arg) const paddr_t spg = atop(spa); const paddr_t epg = atop(epa); + VPRINTF(" start %08lx end %08lx... " + "loading in freelist %d\n", spa, epa, VM_FREELIST_DEFAULT); + uvm_page_physload(spg, epg, spg, epg, VM_FREELIST_DEFAULT); - VPRINTF(" start %08lx end %08lx", ptoa(spa), ptoa(epa)); } return sp;