diff options
author | 2001-05-25 23:33:47 +0000 | |
---|---|---|
committer | 2001-05-25 23:33:47 +0000 | |
commit | 12eb358b9c741ae5eba71d40caa5f2edb08d0d09 (patch) | |
tree | 816054e4c7ea70e37cce3546234592b65cffc897 | |
parent | Support KERBEROS5 / gssapi. (hin@ ok) (diff) | |
download | wireguard-openbsd-12eb358b9c741ae5eba71d40caa5f2edb08d0d09.tar.xz wireguard-openbsd-12eb358b9c741ae5eba71d40caa5f2edb08d0d09.zip |
Implement PMAP_MAP_POOLPAGE.
-rw-r--r-- | sys/arch/powerpc/include/pmap.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/arch/powerpc/include/pmap.h b/sys/arch/powerpc/include/pmap.h index d7e3815c3a9..c2fa779f390 100644 --- a/sys/arch/powerpc/include/pmap.h +++ b/sys/arch/powerpc/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.5 2001/05/09 15:31:26 art Exp $ */ +/* $OpenBSD: pmap.h,v 1.6 2001/05/25 23:33:47 art Exp $ */ /* $NetBSD: pmap.h,v 1.1 1996/09/30 16:34:29 ws Exp $ */ /*- @@ -87,6 +87,14 @@ extern struct pmap kernel_pmap_; #define pmap_resident_count(pmap) ((pmap)->pm_stats.resident_count) +/* + * Alternate mapping methods for pool. + * Really simple. 0x0->0x8000000 contain 1->1 mappings of the physical + * memory. + */ +#define PMAP_MAP_POOLPAGE(pa) ((vaddr_t)pa) +#define PMAP_UNMAP_POOLPAGE(va) ((paddr_t)va) + void pmap_bootstrap __P((u_int kernelstart, u_int kernelend)); #endif /* _KERNEL */ |