diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-07-23 16:08:58 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-07-23 16:08:58 +0000 |
commit | 4a9e1b6d5a916fa3f1cacc630e3ed438d7c31374 (patch) | |
tree | 7a56f530f0f39664179bfedaa0b58350dd9d0f43 /sys/arch/hppa | |
parent | be9e4951cbc4a78165047333d51b6a2e5a7f8bf1 (diff) |
print page protection w/ bits in dump_table
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r-- | sys/arch/hppa/hppa/pmap.c | 5 |
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); } } } |