mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-05 12:56:08 +00:00
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
This commit is contained in:
parent
a0da77c91d
commit
67be19576a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157224
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user