Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/evbarm/fdt Fix and improve a VPRINTF



details:   https://anonhg.NetBSD.org/src/rev/5dd5d8475c99
branches:  trunk
changeset: 1000223:5dd5d8475c99
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Jul 15 08:44:33 2019 +0000

description:
Fix and improve a VPRINTF

diffstat:

 sys/arch/evbarm/fdt/fdt_machdep.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (31 lines):

diff -r 30e98f236ac9 -r 5dd5d8475c99 sys/arch/evbarm/fdt/fdt_machdep.c
--- a/sys/arch/evbarm/fdt/fdt_machdep.c Mon Jul 15 06:40:21 2019 +0000
+++ b/sys/arch/evbarm/fdt/fdt_machdep.c Mon Jul 15 08:44:33 2019 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
@@ -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 @@
                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;



Home | Main Index | Thread Index | Old Index