summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/include
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-10-28 20:49:17 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-10-28 20:49:17 +0000
commitb693b9523c00189690ca72681e7b4658fbe2a4b5 (patch)
tree023ff66bdffb54fc1199a556412a360575463e82 /sys/arch/hppa/include
parent3a655b60424cb495dd3a09c36837104c7579f8fa (diff)
do not use asm for accessing the page tables since they are mapped now.
fix ptp accounting and move diagnostic check in pmap_destroy() into a DIAGNOSTIC and it has not caught a one problem so far. when random-allocating the space ids use linear rehashing instead of a full new random which produces a better cache locality. miod@ ok
Diffstat (limited to 'sys/arch/hppa/include')
-rw-r--r--sys/arch/hppa/include/pmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/include/pmap.h b/sys/arch/hppa/include/pmap.h
index b525f24beb1..0e9e6994c95 100644
--- a/sys/arch/hppa/include/pmap.h
+++ b/sys/arch/hppa/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.24 2002/10/17 02:21:08 mickey Exp $ */
+/* $OpenBSD: pmap.h,v 1.25 2002/10/28 20:49:16 mickey Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff
@@ -43,7 +43,7 @@ struct pmap {
#define pm_lock pm_obj.vmobjlock
struct vm_page *pm_ptphint;
struct vm_page *pm_pdir_pg; /* vm_page for pdir */
- paddr_t pm_pdir; /* PA of PD (read-only after create) */
+ u_int32_t *pm_pdir; /* page dir (read-only after create) */
pa_space_t pm_space; /* space id (read-only after create) */
u_int pm_pid; /* prot id (read-only after create) */