[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Owain Ainsworth <oga_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Tue, 21 Apr 2009 11:05:30 -0600 (MDT)
CVSROOT: /cvs
Module name: src
Changes by: oga_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2009/04/21 11:05:30
Modified files:
sys/arch/amd64/amd64: bus_dma.c
sys/arch/amd64/conf: files.amd64
sys/arch/amd64/include: bus.h
sys/arch/amd64/pci: iommu.c pci_machdep.c
Added files:
sys/arch/amd64/amd64: sg_dma.c
Log message:
add a sg_dma backend for amd64 bus_dma. This is a lot more clever about
mapping to the gart than the old code, and shouldn't conflict with
bouncebuffers when they're added.
This is essentially the sparc64 iommu code that's been modularised a bit
so I can eventually use the same code for agp-based dma for memory
managed drm drivers.
Now, this would overflow ramdiskA, so iommu and sg_dma are now #ifndef
SMALL_KERNEL.
ok kettenis@, marco_(_at_)__(_dot_)_ SMALL_KERNEL discussions with deraadt.
Visit your host, monkey.org