summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2005-11-22 12:52:13 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2005-11-22 12:52:13 +0000
commite26015c7b20d9dd228917319fff83a26534e1ee7 (patch)
tree3afaf441740baf4bd1c8217e040f1cf26bda0aac /sys/arch/i386
parent93b9902952820ab73064718556934e22fbd29260 (diff)
pm_pdirpa is apaddr_t and PTDpaddr (on the contrary) is u_int32_t
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/include/pmap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/include/pmap.h b/sys/arch/i386/include/pmap.h
index 7f9c32fad35..a8f6e01a08d 100644
--- a/sys/arch/i386/include/pmap.h
+++ b/sys/arch/i386/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.38 2005/11/14 23:50:26 martin Exp $ */
+/* $OpenBSD: pmap.h,v 1.39 2005/11/22 12:52:12 mickey Exp $ */
/* $NetBSD: pmap.h,v 1.44 2000/04/24 17:18:18 thorpej Exp $ */
/*
@@ -268,7 +268,7 @@ struct pmap {
#define pm_lock pm_obj.vmobjlock
LIST_ENTRY(pmap) pm_list; /* list (lck by pm_list lock) */
pd_entry_t *pm_pdir; /* VA of PD (lck by object lock) */
- u_int32_t pm_pdirpa; /* PA of PD (read-only after create) */
+ paddr_t pm_pdirpa; /* PA of PD (read-only after create) */
struct vm_page *pm_ptphint; /* pointer to a PTP in our pmap */
struct pmap_statistics pm_stats; /* pmap stats (lck by object lock) */
@@ -343,7 +343,7 @@ struct pv_page {
extern pd_entry_t PTD[];
/* PTDpaddr: is the physical address of the kernel's PDP */
-extern u_long PTDpaddr;
+extern u_int32_t PTDpaddr;
extern struct pmap kernel_pmap_store; /* kernel pmap */
extern int nkpde; /* current # of PDEs for kernel */