The OpenRISC calling standard only passes 6 parameters by register.  Any
others are passed on the stack.  NetBSD syscalls use up to 8 parameters
so that could mean two left on the stack for the kernel to access.  It's
easier for the kernel if userland could fetch into registers beforehand.
So we generate sysassym.h which contains the number of arguments for each
syscall and then use that to determine how many arguments need to be fetched
from the stack.
Rewind the file before we install it so that we can check it.
Before this fix, no checks were made and you could install crap.
XXX: pullup 7
allow board-specific ioctl() handlers
implement WSCONSIO_[G|S]VIDEO by hijacking bcm2835_genfb's ioctl
next step: hardware cursor
WARNS=6
Fix previous.  There is no uap.
add driver for DMA controller
add awindma
Install altivec.h for ppc64 too.
dma support
transfer to TXDATA reg, not DMA irq en reg
Trailing whitespace.
Add WARNS=6
store lastch to an int so that EOF is handled properly.
add awin_dma_dump_regs func if DDB is defined, and print the irq # at attach time
fix off by one in intr handler
setup DRQ_CLR_CNT reg, clear FIR_VER bit, be more relaxed about blocksize, and set SRC DRQ TYPE for dma channel
add awinac_dump_regs if DDB is defined
use bus_dma instead of pmap_extract to get phys addr of audio buffer
seems I have to enable ADC PA for sound to come out