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 Add missing prototypes for __bs_c(f,_bs...



details:   https://anonhg.NetBSD.org/src/rev/f57f07ce475e
branches:  trunk
changeset: 954518:f57f07ce475e
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Sat Sep 05 16:04:31 2020 +0000

description:
Add missing prototypes for __bs_c(f,_bs_sm_?_swap)

(implementations of these already exist for aarch64)

diffstat:

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

diffs (30 lines):

diff -r 815492995adf -r f57f07ce475e sys/arch/arm/include/bus_funcs.h
--- a/sys/arch/arm/include/bus_funcs.h  Sat Sep 05 15:59:09 2020 +0000
+++ b/sys/arch/arm/include/bus_funcs.h  Sat Sep 05 16:04:31 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus_funcs.h,v 1.9 2020/04/13 07:09:51 maxv Exp $       */
+/*     $NetBSD: bus_funcs.h,v 1.10 2020/09/05 16:04:31 jakllsch Exp $  */
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2001 The NetBSD Foundation, Inc.
@@ -493,14 +493,20 @@
 
 #define        bs_sm_2_proto(f)                                                \
 void   __bs_c(f,_bs_sm_2)(void *t, bus_space_handle_t bsh,             \
+           bus_size_t offset, uint16_t value, bus_size_t count);       \
+void   __bs_c(f,_bs_sm_2_swap)(void *t, bus_space_handle_t bsh,                \
            bus_size_t offset, uint16_t value, bus_size_t count);
 
 #define        bs_sm_4_proto(f)                                                \
 void   __bs_c(f,_bs_sm_4)(void *t, bus_space_handle_t bsh,             \
+           bus_size_t offset, uint32_t value, bus_size_t count);       \
+void   __bs_c(f,_bs_sm_4_swap)(void *t, bus_space_handle_t bsh,        \
            bus_size_t offset, uint32_t value, bus_size_t count);
 
 #define        bs_sm_8_proto(f)                                                \
 void   __bs_c(f,_bs_sm_8)(void *t, bus_space_handle_t bsh,             \
+           bus_size_t offset, uint64_t value, bus_size_t count);       \
+void   __bs_c(f,_bs_sm_8_swap)(void *t, bus_space_handle_t bsh,        \
            bus_size_t offset, uint64_t value, bus_size_t count);
 
 #define        bs_sr_1_proto(f)                                                \



Home | Main Index | Thread Index | Old Index