NetBSD/sys/arch/next68k/dev
thorpej 5832084eaf bus_dmamem_map() maps DMA safe memory, which is usually one or more
managed pages, into KVA space.  Since the pages are managed, we should
use pmap_enter(), not pmap_kenter_pa().

Also, when entering the mappings, enter with an access_type of
VM_PROT_READ | VM_PROT_WRITE.  We do this for a couple of reasons:

	(1) On systems that have H/W mod/ref attributes, the hardware
	    may not be able to track mod/ref done by a bus master.

	(2) On systems that have to do mod/ref emulation, this prevents
	    a mod/ref page fault from potentially happening while in an
	    interrupt context, which can be problematic.

This latter change is fairly important if we ever want to be able to
transfer DMA-safe memory pages to anonymous memory objects; we will need
to know that the pages are modified, or else data could be lost!

Note that while the pages are unowned (i.e. "just DMA-safe memory pages"),
they won't consume any swap resources, as the mappings are wired, and
the pages aren't on the active or inactive queues.
1999-05-25 23:14:03 +00:00
..
bus_dma.c bus_dmamem_map() maps DMA safe memory, which is usually one or more 1999-05-25 23:14:03 +00:00
clockreg.h
enreg.h
esp.c
espreg.h
espvar.h
if_xe.c
if_xevar.h
intio.c
intiovar.h
mb8795.c Rework layer 2 protocol input routines. Instead of calling e.g. ether_input() 1999-05-18 23:52:51 +00:00
mb8795reg.h
mb8795var.h
md_root.c
nextcons.c Don't use the direct console on color machines, which is currently not 1999-04-29 14:51:20 +00:00
nextdisplay.c
nextdisplayvar.h
nextdma.c
nextdmareg.h
nextdmavar.h
nextkbd.c fix polled keyboard support 1999-03-26 04:17:46 +00:00
nextkbdvar.h
wskbdmap_next.c
wskbdmap_next.h
zs_cons.h added kgdb support. 1999-03-27 02:59:41 +00:00
zs_kgdb.c added kgdb support. 1999-03-27 02:59:41 +00:00
zs.c added kgdb support. 1999-03-27 02:59:41 +00:00