Add bus_dmamem_alloc_range(9) to allow drivers to allocate DMA'able memory
authorkettenis <kettenis@openbsd.org>
Sat, 24 Jan 2015 15:13:55 +0000 (15:13 +0000)
committerkettenis <kettenis@openbsd.org>
Sat, 24 Jan 2015 15:13:55 +0000 (15:13 +0000)
commit3df3eb3b8b322a2a7f2ce6bbbff3b7296d910867
treea25e75144d3ab38a28b1b2ca8b325a8f4ce06f9f
parent99657499286d1c8e13d8fbb5f82ee0f795cf476d
Add bus_dmamem_alloc_range(9) to allow drivers to allocate DMA'able memory
within a range that is more (or less) restrictive than the default range.

ok deraadt@, stsp@
sys/arch/amd64/amd64/bus_dma.c
sys/arch/amd64/include/bus.h
sys/arch/amd64/isa/isa_machdep.c
sys/arch/amd64/pci/pci_machdep.c
sys/arch/i386/eisa/eisa_machdep.c
sys/arch/i386/i386/bus_dma.c
sys/arch/i386/include/bus.h
sys/arch/i386/isa/isa_machdep.c
sys/arch/i386/pci/pci_machdep.c