NetBSD/sys/arch/alpha/common
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
comlogout.c Fix printf format problems on Alpha. 1999-02-12 06:25:13 +00:00
sgmap_common.c If we have to increase the boundary due to the spill pages, use the old 1999-02-18 08:55:16 +00:00
sgmap_typedep.c vm_offset_t -> {paddr_t,vaddr_t}, vm_size_t -> vsize_t 1998-08-14 16:50:00 +00:00
sgmap_typedep.h Export the spill page PTE, and provide a hook to initialize it early. 1998-06-04 01:22:52 +00:00
sgmapvar.h vm_offset_t -> {paddr_t,vaddr_t}, vm_size_t -> vsize_t 1998-08-14 16:50:00 +00:00
shared_intr.c Implement alpha_shared_intr_disestablish(). Simply removes the handler 1998-08-01 18:52:36 +00:00