Module Name:    src
Committed By:   jakllsch
Date:           Sat Sep  5 16:04:31 UTC 2020

Modified Files:
        src/sys/arch/arm/include: bus_funcs.h

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

(implementations of these already exist for aarch64)


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/arm/include/bus_funcs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/arm/include/bus_funcs.h
diff -u src/sys/arch/arm/include/bus_funcs.h:1.9 src/sys/arch/arm/include/bus_funcs.h:1.10
--- src/sys/arch/arm/include/bus_funcs.h:1.9	Mon Apr 13 07:09:51 2020
+++ src/sys/arch/arm/include/bus_funcs.h	Sat Sep  5 16:04:31 2020
@@ -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 @@ void	__bs_c(f,_bs_sm_1)(void *t, bus_spa
 
 #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)						\

Reply via email to