diff options
author | Dale S. Rahn <rahnds@cvs.openbsd.org> | 1997-01-09 03:03:47 +0000 |
---|---|---|
committer | Dale S. Rahn <rahnds@cvs.openbsd.org> | 1997-01-09 03:03:47 +0000 |
commit | a86d2628e658be70451e926419ffaf4577913ec9 (patch) | |
tree | 7876a3d4c3a853045a4b51b465b4fc3842a5499c /sys/arch/powerpc/include/pmap.h | |
parent | b1e041dc039612db78755fac6ae29740a91951a6 (diff) |
adding further support.
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 */ |