Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x68k/include bus_space_write_region_N() should also...
details: https://anonhg.NetBSD.org/src/rev/a7bdedee0805
branches: trunk
changeset: 753172:a7bdedee0805
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Fri Mar 19 10:45:09 2010 +0000
description:
bus_space_write_region_N() should also take a const buffer.
diffstat:
sys/arch/x68k/include/bus.h | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (53 lines):
diff -r b677269fd18b -r a7bdedee0805 sys/arch/x68k/include/bus.h
--- a/sys/arch/x68k/include/bus.h Fri Mar 19 08:37:16 2010 +0000
+++ b/sys/arch/x68k/include/bus.h Fri Mar 19 10:45:09 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus.h,v 1.19 2010/03/19 08:28:44 he Exp $ */
+/* $NetBSD: bus.h,v 1.20 2010/03/19 10:45:09 tsutsui Exp $ */
/*-
* Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -233,13 +233,13 @@
static __inline void _bus_space_write_region_1
(bus_space_tag_t, bus_space_handle_t, bus_size_t,
- u_int8_t *, bus_size_t);
+ const u_int8_t *, bus_size_t);
static __inline void _bus_space_write_region_2
(bus_space_tag_t, bus_space_handle_t, bus_size_t,
- u_int16_t *, bus_size_t);
+ const u_int16_t *, bus_size_t);
static __inline void _bus_space_write_region_4
(bus_space_tag_t, bus_space_handle_t, bus_size_t,
- u_int32_t *, bus_size_t);
+ const u_int32_t *, bus_size_t);
static __inline void _bus_space_set_region_1
(bus_space_tag_t, bus_space_handle_t, bus_size_t,
@@ -532,7 +532,7 @@
bus_space_tag_t t;
bus_space_handle_t bsh;
bus_size_t offset;
- u_int8_t *datap;
+ const u_int8_t *datap;
bus_size_t count;
{
#if X68K_BUS_PERFORMANCE_HACK
@@ -556,7 +556,7 @@
bus_space_tag_t t;
bus_space_handle_t bsh;
bus_size_t offset;
- u_int16_t *datap;
+ const u_int16_t *datap;
bus_size_t count;
{
#if X68K_BUS_PERFORMANCE_HACK
@@ -580,7 +580,7 @@
bus_space_tag_t t;
bus_space_handle_t bsh;
bus_size_t offset;
- u_int32_t *datap;
+ const u_int32_t *datap;
bus_size_t count;
{
#if X68K_BUS_PERFORMANCE_HACK
Home |
Main Index |
Thread Index |
Old Index