diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2001-06-24 05:17:05 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2001-06-24 05:17:05 +0000 |
commit | 28119f1a05dc3afdc3e48d4c87a8411420f674ae (patch) | |
tree | f1c33e68b6df44c7c4d3b419fdced1daf4be44e1 /sys/arch/powerpc/include/pmap.h | |
parent | 0d5d9247292acc8702d72ed6ba127263643df25a (diff) |
Prototype functions used in macros in this header file.
Diffstat (limited to 'sys/arch/powerpc/include/pmap.h')
-rw-r--r-- | sys/arch/powerpc/include/pmap.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/powerpc/include/pmap.h b/sys/arch/powerpc/include/pmap.h index b31339bd737..d47f5d2d99b 100644 --- a/sys/arch/powerpc/include/pmap.h +++ b/sys/arch/powerpc/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.7 2001/05/26 03:27:58 art Exp $ */ +/* $OpenBSD: pmap.h,v 1.8 2001/06/24 05:17:04 drahn Exp $ */ /* $NetBSD: pmap.h,v 1.1 1996/09/30 16:34:29 ws Exp $ */ /*- @@ -72,10 +72,13 @@ struct pmap { }; typedef struct pmap *pmap_t; +void ptemodify(vm_offset_t pa, u_int mask, u_int val); #ifdef _KERNEL extern struct pmap kernel_pmap_; #define pmap_kernel() (&kernel_pmap_) +int ptebits(paddr_t pa, int bit); + #define pmap_clear_modify(pa) (ptemodify((pa), PTE_CHG, 0)) #define pmap_clear_reference(pa) (ptemodify((pa), PTE_REF, 0)) @@ -97,6 +100,9 @@ extern struct pmap kernel_pmap_; void pmap_bootstrap __P((u_int kernelstart, u_int kernelend)); +void pmap_deactivate(struct proc *p); +void pmap_activate(struct proc *p); + #endif /* _KERNEL */ #endif /* _LOCORE */ #endif /* _MACHINE_PMAP_H_ */ |