Module Name:    src
Committed By:   skrll
Date:           Sun Jan 24 14:51:01 UTC 2021

Modified Files:
        src/sys/arch/arm/arm32: pmap.c

Log Message:
More debug


To generate a diff of this commit:
cvs rdiff -u -r1.422 -r1.423 src/sys/arch/arm/arm32/pmap.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/pmap.c
diff -u src/sys/arch/arm/arm32/pmap.c:1.422 src/sys/arch/arm/arm32/pmap.c:1.423
--- src/sys/arch/arm/arm32/pmap.c:1.422	Fri Oct 30 18:54:36 2020
+++ src/sys/arch/arm/arm32/pmap.c	Sun Jan 24 14:51:01 2021
@@ -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 @@ pmap_enter(pmap_t pm, vaddr_t va, paddr_
 		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.
 		 */

Reply via email to