Add missing assignment forgotten in r365899
Noticed by: mav MFC after: 1 month MFC with: r365899
This commit is contained in:
parent
00ddf3b4eb
commit
e188f4d449
@ -754,6 +754,7 @@ void generic_bs_unimplemented(void);
|
||||
{ \
|
||||
type tmp; \
|
||||
tmp = bus_space_read_##width(tag, hnd, offset); \
|
||||
*value = (type)tmp; \
|
||||
return (0); \
|
||||
}
|
||||
BUS_PEEK_FUNC(1, uint8_t)
|
||||
|
@ -696,6 +696,7 @@ void __bs_c(f,_bs_c_8) (void *t, bus_space_handle_t bsh1, \
|
||||
{ \
|
||||
type tmp; \
|
||||
tmp = bus_space_read_##width(tag, hnd, offset); \
|
||||
*value = (type)tmp; \
|
||||
return (0); \
|
||||
}
|
||||
BUS_PEEK_FUNC(1, uint8_t)
|
||||
|
@ -469,6 +469,7 @@ extern struct bus_space bs_le_tag;
|
||||
{ \
|
||||
type tmp; \
|
||||
tmp = bus_space_read_##width(tag, hnd, offset); \
|
||||
*value = (type)tmp; \
|
||||
return (0); \
|
||||
}
|
||||
BUS_PEEK_FUNC(1, uint8_t)
|
||||
|
@ -458,6 +458,7 @@ struct bus_space {
|
||||
{ \
|
||||
type tmp; \
|
||||
tmp = bus_space_read_##width(tag, hnd, offset); \
|
||||
*value = (type)tmp; \
|
||||
return (0); \
|
||||
}
|
||||
BUS_PEEK_FUNC(1, uint8_t)
|
||||
|
@ -1096,6 +1096,7 @@ bus_space_barrier(bus_space_tag_t tag __unused, bus_space_handle_t bsh __unused,
|
||||
{ \
|
||||
type tmp; \
|
||||
tmp = bus_space_read_##width(tag, hnd, offset); \
|
||||
*value = (type)tmp; \
|
||||
return (0); \
|
||||
}
|
||||
BUS_PEEK_FUNC(1, uint8_t)
|
||||
|
Loading…
Reference in New Issue
Block a user