diff options
author | zbb <zbb@FreeBSD.org> | 2015-05-08 18:47:19 +0000 |
---|---|---|
committer | zbb <zbb@FreeBSD.org> | 2015-05-08 18:47:19 +0000 |
commit | ff2ee3a4989ae83a7bdf6fc7d9573b5eb0bd1dac (patch) | |
tree | a7adffacf4ea8dd55f877cca2b86f824e5ea003f /sys/conf | |
parent | 82e528e78860ca6242a565e82588c49f5667b24d (diff) | |
download | FreeBSD-src-ff2ee3a4989ae83a7bdf6fc7d9573b5eb0bd1dac.zip FreeBSD-src-ff2ee3a4989ae83a7bdf6fc7d9573b5eb0bd1dac.tar.gz |
Port x86 busdma to ARM64
The x86 busdma subsystem allows using multiple implementations.
By default the classic bounce buffer approach is used, however
on systems with IOMMU it could be in runtime switched to more
efficient hardware accelerated implementation.
This commit adds ARM64 port of the x86 busdma framework and bounce
buffer backend. It is ready to use on IO coherent systems. If the
IO coherency cannot be guaranteed, the cache management operations have
to be added to this code in places marked by /* XXX ARM64TODO (...) */
comments. Also IOMMU support might be added by registering another
busdma implementation like it is already done on the x86.
Reviewed by: andrew, emaste
Obtained from: Semihalf
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/files.arm64 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files.arm64 b/sys/conf/files.arm64 index f80fecd..9b1ff0d 100644 --- a/sys/conf/files.arm64 +++ b/sys/conf/files.arm64 @@ -5,6 +5,7 @@ arm64/arm64/autoconf.c standard arm64/arm64/bcopy.c standard arm64/arm64/bus_machdep.c standard arm64/arm64/bus_space_asm.S standard +arm64/arm64/busdma_bounce.c standard arm64/arm64/busdma_machdep.c standard arm64/arm64/clock.c standard arm64/arm64/copyinout.S standard |