summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1999-11-30 06:44:52 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1999-11-30 06:44:52 +0000
commit56c5e8fa21ee0eb99caaef6d879b24753896c1ff (patch)
tree3f5d2be5033144d732b627c2ddc982adbb9193ab /sys/arch
parent63063f0e203f5e95025ae4b94a47dce3512be78a (diff)
Put the "faulting in a pt page map ..." printf behind #ifdef DEBUG.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/i386/pmap.c4
-rw-r--r--sys/arch/i386/i386/pmap.old.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/pmap.c b/sys/arch/i386/i386/pmap.c
index 41edc83c84e..c8ea354d7d1 100644
--- a/sys/arch/i386/i386/pmap.c
+++ b/sys/arch/i386/i386/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.32 1999/09/03 18:00:51 art Exp $ */
+/* $OpenBSD: pmap.c,v 1.33 1999/11/30 06:44:51 art Exp $ */
/* $NetBSD: pmap.c,v 1.36 1996/05/03 19:42:22 christos Exp $ */
/*
@@ -1222,7 +1222,9 @@ pmap_enter(pmap, va, pa, prot, wired, access_type)
vmap = &curproc->p_vmspace->vm_map;
v = trunc_page(vtopte(va));
+#ifdef DEBUG
printf("faulting in a pt page map %x va %x\n", vmap, v);
+#endif
#if defined(UVM)
rv = uvm_fault(vmap, v, 0, VM_PROT_READ|VM_PROT_WRITE);
#else
diff --git a/sys/arch/i386/i386/pmap.old.c b/sys/arch/i386/i386/pmap.old.c
index d23afcc7bde..0fe8c5e6598 100644
--- a/sys/arch/i386/i386/pmap.old.c
+++ b/sys/arch/i386/i386/pmap.old.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.old.c,v 1.32 1999/09/03 18:00:51 art Exp $ */
+/* $OpenBSD: pmap.old.c,v 1.33 1999/11/30 06:44:51 art Exp $ */
/* $NetBSD: pmap.c,v 1.36 1996/05/03 19:42:22 christos Exp $ */
/*
@@ -1222,7 +1222,9 @@ pmap_enter(pmap, va, pa, prot, wired, access_type)
vmap = &curproc->p_vmspace->vm_map;
v = trunc_page(vtopte(va));
+#ifdef DEBUG
printf("faulting in a pt page map %x va %x\n", vmap, v);
+#endif
#if defined(UVM)
rv = uvm_fault(vmap, v, 0, VM_PROT_READ|VM_PROT_WRITE);
#else