marcel
7e7e822da1
Add accessor functions for iterating over segments. A segment
...
can be in bus address space, physical memory space or virtual
memory space.
2015-06-11 03:02:40 +00:00
marcel
4559857c8e
Rename bus_space to bus (i.e. drop _space). This makes the
...
API match the convenience macros in <sys/bus.h>. Bus space
can now reference both bus and busdma.
2015-06-10 16:00:09 +00:00
marcel
440bb64889
Add busdma_mem_alloc & busdma_mem_free.
2015-06-08 03:23:20 +00:00
marcel
9d7393a25c
Add DMA tag management to the C library and Python binding.
2015-06-06 16:14:03 +00:00
marcel
1bcd32c4c5
Add a C libary and a Python module that implements an API similar
...
to bus_space(9) and that uses the proto(4) driver for talking to
hardware. If the I/O resource is a memory mapped I/O resource,
then mmap(2) will be attempted to avoid read(2)/write(2) overhead.
Sponsored by: Juniper Networks, Inc.
2014-04-28 18:06:11 +00:00