Skip to content

Commit

Permalink
bus_read_region_1: implement with bus_space_read_region_1
Browse files Browse the repository at this point in the history
  • Loading branch information
korli committed Jan 14, 2013
1 parent c5d129a commit db3f8e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/libs/compat/freebsd_network/compat/machine/bus.h
Expand Up @@ -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)
Expand Down
3 changes: 3 additions & 0 deletions src/libs/compat/freebsd_network/compat/sys/bus.h
Expand Up @@ -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
Expand Down

0 comments on commit db3f8e2

Please sign in to comment.