bus_read_region_1: implement with bus_space_read_region_1

This commit is contained in:
Jerome Duval 2013-01-14 23:40:25 +01:00
parent c5d129a27a
commit db3f8e227b
2 changed files with 3 additions and 8 deletions

View File

@ -226,14 +226,6 @@ bus_space_set_region_4(bus_space_tag_t tag, bus_space_handle_t bsh,
}
static inline void
bus_read_region_1(struct resource *res, bus_size_t offset,
const u_int8_t *addr, size_t count)
{
/* TODO implement */
}
static inline void
bus_space_barrier(bus_space_tag_t tag, bus_space_handle_t handle,
bus_size_t offset, bus_size_t len, int flags)

View File

@ -33,6 +33,9 @@
#define bus_barrier(r, o, l, f) \
bus_space_barrier((r)->r_bustag, (r)->r_bushandle, (o), (l), (f))
#define bus_read_region_1(r, o, d, c) \
bus_space_read_region_1((r)->r_bustag, (r)->r_bushandle, (o), (d), (c))
#define FILTER_STRAY B_UNHANDLED_INTERRUPT
#define FILTER_HANDLED B_HANDLED_INTERRUPT
#define FILTER_SCHEDULE_THREAD B_INVOKE_SCHEDULER