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 More debug



details:   https://anonhg.NetBSD.org/src/rev/9eb63abe36e6
branches:  trunk
changeset: 950301:9eb63abe36e6
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Jan 24 14:51:01 2021 +0000

description:
More debug

diffstat:

 sys/arch/arm/arm32/pmap.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 0b0dff519ca7 -r 9eb63abe36e6 sys/arch/arm/arm32/pmap.c
--- a/sys/arch/arm/arm32/pmap.c Sun Jan 24 14:47:40 2021 +0000
+++ b/sys/arch/arm/arm32/pmap.c Sun Jan 24 14:51:01 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.422 2020/10/30 18:54:36 skrll Exp $ */
+/*     $NetBSD: pmap.c,v 1.423 2021/01/24 14:51:01 skrll Exp $ */
 
 /*
  * Copyright 2003 Wasabi Systems, Inc.
@@ -192,7 +192,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.422 2020/10/30 18:54:36 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.423 2021/01/24 14:51:01 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -3154,6 +3154,10 @@
                struct vm_page_md *md = (pg != NULL) ? VM_PAGE_TO_MD(pg) :
                    PMAP_PAGE_TO_MD(pp);
 
+               UVMHIST_LOG(maphist, "  pg %#jx pp %#jx pvh_attrs %#jx "
+                   "nflags %#jx", (uintptr_t)pg, (uintptr_t)pp,
+                   md->pvh_attrs, nflags);
+
                /*
                 * This is to be a managed mapping.
                 */



Home | Main Index | Thread Index | Old Index