freebsd-dev/sys/dev/dcons
Marius Strobl eddfa7b147 Given that the buffer dcons_crom(4) exposes is used for both input
and output, set BUS_DMA_COHERENT when creating the DMA map used for
loading the buffer. As a side-effect this solves locking issues on
sparc64 when dcons(4) calls bus_dmamap_sync(9) while in an interrupt
filter, which are executed in a critical section, and iommu(4) has
to use a sleep lock when taking advantage of the streaming buffer.

Reported and tested by:	kensmith
Approved by:		simokawa
2008-11-19 22:09:03 +00:00
..
dcons_crom.c Given that the buffer dcons_crom(4) exposes is used for both input 2008-11-19 22:09:03 +00:00
dcons_os.c Also make dcons(4) use MPSAFE callouts. 2008-11-19 21:12:26 +00:00
dcons_os.h Poll bus resets on FireWire while kdb/gdb is active. 2007-06-08 00:54:44 +00:00
dcons.c Include stand.h for loader. 2007-05-25 05:00:39 +00:00
dcons.h Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00