1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/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
dcons.c
dcons.h