Wrapper API for static bus_dma allocations

Poul-Henning Kamp phk at phk.freebsd.dk
Thu Jan 29 22:11:00 UTC 2015


--------
In message <2800970.jY4xzTy9Hz at ralph.baldwin.cx>, John Baldwin writes:

>The bus_dma API to allocate a chunk of static DMA'able memory (e.g. for 
>descriptor rings) can be a bit obtuse [...]

Isn't it time we take a good hard stare at all of the bus_dma API,
and refactor it into something a lot more compact ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-arch mailing list