summaryrefslogtreecommitdiffstats
path: root/sys/dev/altera/sdcard
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2012-08-25 11:07:43 +0000
committerrwatson <rwatson@FreeBSD.org>2012-08-25 11:07:43 +0000
commit57bdf1f3160c3bad78968872120cea0e37a94bf1 (patch)
treee0ce5c060681a6450bf378f148e6dc9425f67f7b /sys/dev/altera/sdcard
parentd5129fde3c8f2b0e1d85049892dbcc47bd1be041 (diff)
downloadFreeBSD-src-57bdf1f3160c3bad78968872120cea0e37a94bf1.zip
FreeBSD-src-57bdf1f3160c3bad78968872120cea0e37a94bf1.tar.gz
Add altera_avgen(4), a generic device driver to be used by hard and soft
CPU cores on Altera FPGAs. The device driver allows memory-mapped devices on Altera's Avalon SoC bus to be exported to userspace via device nodes. device.hints directories dictate device name, permissible access methods, physical address and length, and I/O alignment. Devices can be accessed using read(2)/write(2), but also memory mapped in userspace using mmap(2). Devices attach directly to the Nexus, as is common for embedded device drivers; in the future something more mature might be desirable. There is currently no facility to support directing device-originated interrupts to userspace. In the future, this device driver may be renamed to socgen(4), as it can in principle also be used with other system-on-chip (SoC) busses, such as Axi on ASICs and FPGAs. However, we have only tested it on Avalon busses with memory-mapped ROMs, frame buffers, etc. Sponsored by: DARPA, AFRL
Diffstat (limited to 'sys/dev/altera/sdcard')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud