Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/cobalt/include The datap argument to the write_{mul...



details:   https://anonhg.NetBSD.org/src/rev/af0999aed301
branches:  trunk
changeset: 486636:af0999aed301
user:      soren <soren%NetBSD.org@localhost>
date:      Sat May 27 02:15:01 2000 +0000

description:
The datap argument to the write_{multi,region} calls is const.

diffstat:

 sys/arch/cobalt/include/bus.h |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (43 lines):

diff -r 4342b36ae764 -r af0999aed301 sys/arch/cobalt/include/bus.h
--- a/sys/arch/cobalt/include/bus.h     Sat May 27 02:14:22 2000 +0000
+++ b/sys/arch/cobalt/include/bus.h     Sat May 27 02:15:01 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus.h,v 1.2 2000/03/31 14:51:52 soren Exp $    */
+/*     $NetBSD: bus.h,v 1.3 2000/05/27 02:15:01 soren Exp $    */
 
 /*
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -259,14 +259,14 @@
 #define __COBALT_bus_space_write_multi(BYTES,BITS)                     \
 static __inline void __CONCAT(bus_space_write_multi_,BYTES)            \
        (bus_space_tag_t, bus_space_handle_t, bus_size_t,               \
-       __PB_TYPENAME(BITS) *, size_t);                                 \
+       const __PB_TYPENAME(BITS) *, size_t);                           \
                                                                        \
 static __inline void                                                   \
 __CONCAT(bus_space_write_multi_,BYTES)(t, h, o, a, c)                  \
        bus_space_tag_t t;                                              \
        bus_space_handle_t h;                                           \
        bus_size_t o;                                                   \
-       __PB_TYPENAME(BITS) *a;                                         \
+       const __PB_TYPENAME(BITS) *a;                                   \
        size_t c;                                                       \
 {                                                                      \
                                                                        \
@@ -297,14 +297,14 @@
 #define __COBALT_bus_space_write_region(BYTES,BITS)                    \
 static __inline void __CONCAT(bus_space_write_region_,BYTES)           \
        (bus_space_tag_t, bus_space_handle_t, bus_size_t,               \
-       __PB_TYPENAME(BITS) *, size_t);                                 \
+       const __PB_TYPENAME(BITS) *, size_t);                           \
                                                                        \
 static __inline void                                                   \
 __CONCAT(bus_space_write_region_,BYTES)(t, h, o, a, c)                 \
        bus_space_tag_t t;                                              \
        bus_space_handle_t h;                                           \
        bus_size_t o;                                                   \
-       __PB_TYPENAME(BITS) *a;                                         \
+       const __PB_TYPENAME(BITS) *a;                                   \
        size_t c;                                                       \
 {                                                                      \
                                                                        \



Home | Main Index | Thread Index | Old Index