diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-06-08 08:09:45 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-06-08 08:09:45 +0000 |
commit | 95da2243c76760307b218cb7f05645e68a73e8af (patch) | |
tree | 594a78dc6e16ba4f07e3c1bc9c44def6966cf19e /sys/arch/alpha/dev/bus_dma.c | |
parent | 0579d34f9bf07b4a6bfebb51a83de3ac8356c01f (diff) |
Change the paddr_t pmap_extract(struct pmap *, vaddr_t) interface to
boolean_t pmap_extract(struct pmap *, vaddr_t, paddr_t *).
Matches NetBSD. Tested by various people on various platforms.
Diffstat (limited to 'sys/arch/alpha/dev/bus_dma.c')
-rw-r--r-- | sys/arch/alpha/dev/bus_dma.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/alpha/dev/bus_dma.c b/sys/arch/alpha/dev/bus_dma.c index 0b6eb960e2f..28119359342 100644 --- a/sys/arch/alpha/dev/bus_dma.c +++ b/sys/arch/alpha/dev/bus_dma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bus_dma.c,v 1.1 2001/03/21 17:26:38 art Exp $ */ +/* $OpenBSD: bus_dma.c,v 1.2 2001/06/08 08:08:39 art Exp $ */ /* $NetBSD: bus_dma.c,v 1.40 2000/07/17 04:47:56 thorpej Exp $ */ /*- @@ -158,8 +158,8 @@ _bus_dmamap_load_buffer_direct_common(t, map, buf, buflen, p, flags, * Get the physical address for this segment. */ if (p != NULL) - curaddr = pmap_extract(p->p_vmspace->vm_map.pmap, - vaddr); + pmap_extract(p->p_vmspace->vm_map.pmap, vaddr, + &curaddr); else curaddr = vtophys(vaddr); |