Subject: Re: Contiguous Physical Memory Allocation
To: Justin T. Gibbs <gibbs@freefall.freebsd.org>
From: Chris G Demetriou <Chris_G_Demetriou@ux2.sp.cs.cmu.edu>
List: tech-kern
Date: 06/27/1996 13:36:21
> Why not add a "bus_dma_mem_alloc()" to the list of bus* functions? I
> think that such an interface would satisfy most device drivers and the
> Alpha implementation can do what every it wants so long as the driver gets
> an area that can be DMA'd into.
That is, in general, the right thing to do (and what I was planning to
do).
However, you'll note that there are currently _no_ 'bus_dma'
functions, though there Really Really Really need to be. The right
way to get them is not to add them one function at a time, however...
cgd