diff options
author | marius <marius@FreeBSD.org> | 2006-03-28 19:19:37 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2006-03-28 19:19:37 +0000 |
commit | e2e06058c4a742df3512c91f0f7bca0feb0bd981 (patch) | |
tree | f8cf8bc3e18139b66e68c5807696dfbbf64aeabe /sys/sparc64/include | |
parent | 04272f39a094a03e2639c1d752d0ccd3ffe20335 (diff) | |
download | FreeBSD-src-e2e06058c4a742df3512c91f0f7bca0feb0bd981.zip FreeBSD-src-e2e06058c4a742df3512c91f0f7bca0feb0bd981.tar.gz |
Sync with the other archs and declare the memory location referenced by
the address argument of the bus_space_write_multi_*() familiy as const.
Prodded by: damien
Diffstat (limited to 'sys/sparc64/include')
-rw-r--r-- | sys/sparc64/include/bus.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/sparc64/include/bus.h b/sys/sparc64/include/bus.h index 97a4baa..79f6a67 100644 --- a/sys/sparc64/include/bus.h +++ b/sys/sparc64/include/bus.h @@ -318,7 +318,7 @@ bus_space_write_8(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o, static __inline void bus_space_write_multi_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o, - uint8_t *a, size_t c) + const uint8_t *a, size_t c) { while (c-- > 0) @@ -327,7 +327,7 @@ bus_space_write_multi_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o, static __inline void bus_space_write_multi_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o, - uint16_t *a, size_t c) + const uint16_t *a, size_t c) { while (c-- > 0) @@ -336,7 +336,7 @@ bus_space_write_multi_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o, static __inline void bus_space_write_multi_4(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o, - uint32_t *a, size_t c) + const uint32_t *a, size_t c) { while (c-- > 0) @@ -345,7 +345,7 @@ bus_space_write_multi_4(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o, static __inline void bus_space_write_multi_8(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o, - uint64_t *a, size_t c) + const uint64_t *a, size_t c) { while (c-- > 0) |