Commit Graph

8 Commits

Author SHA1 Message Date
fvdl
7dd7f8baa2 Handle 64bit DMA addresses on PCI for platforms that can (currently only
enabled on amd64). Add a dmat64 field to various PCI attach structures,
and pass it down where needed. Implement a simple new function called
pci_dma64_available(pa) to test if 64bit DMA addresses may be used.
This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>,
and there is more than 4G of memory.
2003-06-15 23:08:53 +00:00
kent
cd7d9faeaf Introduce BUS_DMA_NOCACHE, and bus_dmamem_map() of i386 supports it. 2003-01-28 01:07:51 +00:00
uch
b095a0d0c5 ANSIfy, KNF 2002-03-25 18:59:39 +00:00
thorpej
babefc5331 Add BUS_DMA_READ and BUS_DMA_WRITE flags, that hint the back-end
at dmamap load time that the mapping will be used for a unidirectional
transfer of the specified direction.
2001-07-19 15:32:10 +00:00
thorpej
2c4c690f14 Add the BUS_DMA_STREAMING flag. 2001-03-07 22:42:16 +00:00
marcus
5592504080 Fixed type mismatch in debug output... 2001-02-02 06:27:44 +00:00
thorpej
7135afee31 New bus_space and bus_dma framework, based on the Alpha implemetation. 2001-01-31 18:37:11 +00:00
marcus
83334549fb Initial import of port "dreamcast" (cloned from port "evbsh3"). 2000-12-11 18:19:12 +00:00