drochner
5e990a7f7c
implement bus_space_vaddr()
2000-04-17 17:39:17 +00:00
drochner
8eb798e603
define a "BUS_SPACE_MAP_PREFETCHABLE" flag which basically means that
...
device accesses are idempotent (but should not be cached by the CPU)
2000-01-25 22:13:17 +00:00
cgd
7c02d93c04
nuke current definitions provided by __BUS_SPACE_COMPAT_OLDDEFS.
...
I'll do what I can to make new ones soon. 8-)
1999-06-18 04:49:24 +00:00
mrg
c17a4018cb
pull in new (?) BUS_SPACE_BARRIER_{READ,WRITE} definitions.
1999-03-29 12:42:51 +00:00
drochner
76fa1751fe
Add a macro to check for sufficient pointer alignment in bus.h context,
...
"BUS_SPACE_ALIGNED_POINTER()".
Equal to the param.h "ALIGNED_POINTER()" normally, but obeys additional
requirements of the bus_space_xxx_n() macros. (BUS_SPACE_DEBUG)
1999-03-23 21:29:03 +00:00
mark
53f576f788
bus_space_copy_* -> bus_space_copy_region_*
...
Add BUS_SPACE_COMPAT_OLDDEFS for bus_space_copy_* compat.
1998-09-20 03:37:29 +00:00
thorpej
46320bb017
Clean up the bus space function namespace somewhat; make sure they don't
...
collide with function names used in other parts of the kernel.
1998-06-28 07:27:51 +00:00
thorpej
3497ab9a8c
Add a pointer to an array of DMA ranges. DMA buffers must lie within
...
a range, or else an error is returned when loading a map. If the ranges
pointer is NULL, no range checks are performed.
1998-06-28 03:22:10 +00:00
thorpej
a4e8fc45cd
Nuke the _cookie member of the bus_dma_tag_t; it's not used by anything.
1998-06-27 02:16:23 +00:00
thorpej
06f1469055
Really namespace-protect the virtual address in the DMA segment structure.
1998-06-27 02:13:39 +00:00
mark
fcc1093bee
Define bus_space_map flags BUS_SPACE_MAP_CACHEABLE and BUS_SPACE_MAP_LINEAR.
...
Comment arm32_bus_dma_segment structure members.
Remove the _dm_loadlen field from the arm32_bus_dmamap structure.
1998-04-19 04:13:24 +00:00
thorpej
8abe76d2f0
Add offset and length parameters to bus_dmamap_sync(), used for specifiying
...
partial syncs of a DMA mapping.
1998-02-04 05:12:46 +00:00
thorpej
99cc8482d1
Change the last argument of bus_dmamap_sync() from bus_dmasync_op_t to int,
...
and allow more than one synchronization operation to be specified in
a single call. Dissallow mixing of PRE and POST operations.
1998-02-04 01:57:27 +00:00
thorpej
4e7c05e588
Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
...
BUS_DMA_COHERENT.
1998-02-04 00:31:33 +00:00
mark
b280ec0268
Update copyright.
1998-02-03 19:08:27 +00:00
mark
fb9c150c48
arm32 kernel source restructure
...
- Most changes are comment cleanups.
_ iomd.h is no longer an exported header.
- Added intr.h for MI interrupt definitions.
- Added definitions for ARM8 cpu.
- Added bus dma support.
1997-10-14 09:19:59 +00:00
mark
de7c5e2195
Implement the bus space interfaces for set multiple, set region and copy.
1997-01-26 01:49:01 +00:00
mark
0bebac783d
Update for new bus space interface. This implementation is based on
...
cgd's alpha implementation. Bus tags now point to a structure of
function pointers to bus space routines rather than being an index to
one of several I/O methods making it simpler and more efficient in
handling many different busses and mapping schemes.
1997-01-13 00:33:36 +00:00
mark
0d476cb7d0
bus memory and I/O space access functions/macros, to be used by
...
machine-independent code for more sane access to bus resources.
Defines:
bus_{io,mem}_{map,unmap}
bus_{io,mem}_{read,write}_{1,2,4,8}
bus_io_{read,write}_multi_{1,2,4,8}
functions, and several types to go with them.
Note: The bus_io_*_8 functions are not supported.
1996-05-16 18:08:40 +00:00