diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2010-12-26 15:41:01 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2010-12-26 15:41:01 +0000 |
commit | 55d0ea063b25d8b25fea5135f59de22437ecd4ea (patch) | |
tree | 42c739678ad68f903e06cc29eb0db1df3bf6298e /sys/arch/powerpc | |
parent | 47f20d782a94ebc11fb4c7b43294559377be4989 (diff) |
Kill pmap_phys_address(), and force every driver's mmap() routine to return
a physical address [more precisely, something suitable to pass to pmap_enter()'sphysical address argument].
This allows MI drivers to implement mmap() routines without having to know
about the pmap_phys_address() implementation and #ifdef obfuscation.
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r-- | sys/arch/powerpc/include/pmap.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/powerpc/include/pmap.h b/sys/arch/powerpc/include/pmap.h index b98247c4fe2..6c48972175e 100644 --- a/sys/arch/powerpc/include/pmap.h +++ b/sys/arch/powerpc/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.46 2010/11/18 21:21:38 miod Exp $ */ +/* $OpenBSD: pmap.h,v 1.47 2010/12/26 15:41:00 miod Exp $ */ /* $NetBSD: pmap.h,v 1.1 1996/09/30 16:34:29 ws Exp $ */ /*- @@ -111,7 +111,6 @@ boolean_t pteclrbits(struct vm_page *pg, u_int mask, u_int clear); (pteclrbits((page), PG_PMAP_REF, FALSE)) #define pmap_unwire(pm, va) -#define pmap_phys_address(x) (x) #define pmap_update(pmap) /* nothing (yet) */ #define pmap_resident_count(pmap) ((pmap)->pm_stats.resident_count) |