diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-25 23:33:48 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-25 23:33:48 +0000 |
commit | 1b2966f9449cb2e15cc400e0c3e2d2e69a42135b (patch) | |
tree | 3d91f5bc2b7b299a72ca480a21b1a8b5b37173d1 /sys/arch/powerpc/include | |
parent | 7704ae84f84d63409b2afac5c3838fd9e6a7a400 (diff) |
Implement PMAP_MAP_POOLPAGE.
Diffstat (limited to 'sys/arch/powerpc/include')
-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 */ |