Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/riscv/include Fix some types
details: https://anonhg.NetBSD.org/src/rev/43c2e620098e
branches: trunk
changeset: 372381:43c2e620098e
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Nov 19 12:16:03 2022 +0000
description:
Fix some types
diffstat:
sys/arch/riscv/include/bus_defs.h | 4 ++--
sys/arch/riscv/include/bus_funcs.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 7932c6a199e2 -r 43c2e620098e sys/arch/riscv/include/bus_defs.h
--- a/sys/arch/riscv/include/bus_defs.h Sat Nov 19 12:15:22 2022 +0000
+++ b/sys/arch/riscv/include/bus_defs.h Sat Nov 19 12:16:03 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_defs.h,v 1.1 2022/09/11 15:31:12 skrll Exp $ */
+/* $NetBSD: bus_defs.h,v 1.2 2022/11/19 12:16:03 skrll Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2001 The NetBSD Foundation, Inc.
@@ -339,7 +339,7 @@
* This structure describes a valid DMA range.
*/
struct riscv_dma_range {
- bus_addr_t dr_sysbase; /* system base address */
+ paddr_t dr_sysbase; /* system base address */
bus_addr_t dr_busbase; /* appears here on bus */
bus_size_t dr_len; /* length of range */
uint32_t dr_flags; /* flags for range */
diff -r 7932c6a199e2 -r 43c2e620098e sys/arch/riscv/include/bus_funcs.h
--- a/sys/arch/riscv/include/bus_funcs.h Sat Nov 19 12:15:22 2022 +0000
+++ b/sys/arch/riscv/include/bus_funcs.h Sat Nov 19 12:16:03 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_funcs.h,v 1.1 2022/09/11 15:31:12 skrll Exp $ */
+/* $NetBSD: bus_funcs.h,v 1.2 2022/11/19 12:16:03 skrll Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2001 The NetBSD Foundation, Inc.
@@ -720,7 +720,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