Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/include Fix _bus_dmamem_alloc_range function de...



details:   https://anonhg.NetBSD.org/src/rev/7932c6a199e2
branches:  trunk
changeset: 372380:7932c6a199e2
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Nov 19 12:15:22 2022 +0000

description:
Fix _bus_dmamem_alloc_range function declaration - low and high are
paddr_t

diffstat:

 sys/arch/arm/include/bus_funcs.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 82208aef1de0 -r 7932c6a199e2 sys/arch/arm/include/bus_funcs.h
--- a/sys/arch/arm/include/bus_funcs.h  Sat Nov 19 12:12:25 2022 +0000
+++ b/sys/arch/arm/include/bus_funcs.h  Sat Nov 19 12:15:22 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus_funcs.h,v 1.11 2021/01/24 13:33:56 martin Exp $    */
+/*     $NetBSD: bus_funcs.h,v 1.12 2022/11/19 12:15:22 skrll Exp $     */
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2001 The NetBSD Foundation, Inc.
@@ -769,7 +769,7 @@
 int    _bus_dmamem_alloc_range(bus_dma_tag_t tag, bus_size_t size,
            bus_size_t alignment, bus_size_t boundary,
            bus_dma_segment_t *segs, int nsegs, int *rsegs, int flags,
-           vaddr_t low, vaddr_t high);
+           paddr_t low, paddr_t high);
 
 int    _bus_dmatag_subregion(bus_dma_tag_t, bus_addr_t, bus_addr_t,
            bus_dma_tag_t *, int);



Home | Main Index | Thread Index | Old Index