On Aug 21, 2009, at 12:16 AM, David Holland wrote:
On Fri, Aug 21, 2009 at 03:33:17AM +0000, Jason R Thorpe wrote:Added Files: src/sys/common/bus_dma: bus_dmamem_common.c bus_dmamem_common.h Log Message:Add some common bus_dmamem routines to be shared by multiple platforms.Do these really need to be in their own private directory? (whose name, I might add, is confusing in the presence of src/common...)
This is intended to be a collection of common routines for various subsystems to use. If we had real language / runtime support for it in the kernel, these would be common implementations of base classes instead.
Because this will likely grow into a fairly large collection of miscellaneous stuff, I figured a separate area would be appropriate. sys/kern is way too cluttered as it is (and, IMO, also needs to be split up a bit, but I hesitate to do it until we have a decent version control system that can maintain history across moves).
src/common is stuff shared between kernel and userland. -- thorpej