summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-07-23 16:08:58 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-07-23 16:08:58 +0000
commit4a9e1b6d5a916fa3f1cacc630e3ed438d7c31374 (patch)
tree7a56f530f0f39664179bfedaa0b58350dd9d0f43 /sys/arch/hppa
parentbe9e4951cbc4a78165047333d51b6a2e5a7f8bf1 (diff)
print page protection w/ bits in dump_table
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/hppa/pmap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/hppa/hppa/pmap.c b/sys/arch/hppa/hppa/pmap.c
index a5cb8594a37..56dccbb5def 100644
--- a/sys/arch/hppa/hppa/pmap.c
+++ b/sys/arch/hppa/hppa/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.78 2002/07/18 04:35:03 mickey Exp $ */
+/* $OpenBSD: pmap.c,v 1.79 2002/07/23 16:08:57 mickey Exp $ */
/*
* Copyright (c) 1998-2002 Michael Shalayeff
@@ -353,7 +353,8 @@ pmap_dump_table(pa_space_t space, vaddr_t sva)
if (!(pte = pmap_pte_get(pde, va)))
continue;
- printf("0x%08x-0x%08x\n", va, pte);
+ printf("0x%08x-0x%08x:%b\n", va, pte & ~PAGE_MASK,
+ TLB_PROT(pte & PAGE_MASK), TLB_BITS);
}
}
}