diff options
Diffstat (limited to 'sys/arch/powerpc/include/pmap.h')
-rw-r--r-- | sys/arch/powerpc/include/pmap.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/powerpc/include/pmap.h b/sys/arch/powerpc/include/pmap.h index 5d806fad624..ab4053d1a84 100644 --- a/sys/arch/powerpc/include/pmap.h +++ b/sys/arch/powerpc/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.2 1996/12/28 06:25:20 rahnds Exp $ */ +/* $OpenBSD: pmap.h,v 1.3 1997/01/09 03:03:46 rahnds Exp $ */ /* $NetBSD: pmap.h,v 1.1 1996/09/30 16:34:29 ws Exp $ */ /*- @@ -55,6 +55,7 @@ typedef u_int sr_t; struct pmap { sr_t pm_sr[16]; /* segments used in this pmap */ int pm_refs; /* ref count */ + struct pmap_statistics pm_stats; /* pmap statistics */ }; typedef struct pmap *pmap_t; @@ -71,6 +72,8 @@ extern struct pmap kernel_pmap_; #define pmap_phys_address(x) (x) +#define pmap_resident_count(pmap) ((pmap)->pm_stats.resident_count) + void pmap_bootstrap __P((u_int kernelstart, u_int kernelend)); #endif /* _KERNEL */ |