看板 DFBSD_commit 關於我們 聯絡資訊
commit c26842b6106804dc56cbcd5031662d4553b57a0c Author: Sepherosa Ziehau <sephe@dragonflybsd.org> Date: Mon Dec 27 16:24:03 2010 +0800 busdma: Add PROTECTED bus_dma_tag_create() flag. PROTECTED All of the functions called with the dma_tag are already protected by the caller, so busdma code need not to protect the internal data structures. Panic, if the "defered dmamap load callback" is going to happen. When used along with PRIVBZONE, ALLOCALL and ALLOCNOW, it could greatly reduce the work load of fixing all of the drivers that mal-use busdma functions. Summary of changes: sys/platform/pc32/i386/busdma_machdep.c | 10 ++++++++++ sys/platform/pc64/x86_64/busdma_machdep.c | 10 ++++++++++ sys/sys/bus_dma.h | 2 ++ 3 files changed, 22 insertions(+), 0 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c26842b6106804dc56cbcd5031662d4553b57a0c -- DragonFly BSD source repository