Eth audio device can notify processes
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 14 Dec 2010 19:41:22 +0000 (11:41 -0800)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:57 +0000 (17:35 -0700)
commit8eff6b522de2fe24c84d3d3377d57304ea90ed43
tree9a5ffc3e158b2f35fad387204f6603f9cb7f3f5c
parent5d778b01b0bde7ddd9a624c0325bcdcb6843e04a
Eth audio device can notify processes

When you run eth_audio, call it from busybox.  This will keep core 0 in
a loop of BB yielding, which will allow the NIC interrupts to be
received.  When ROS polls in the monitor, it does not receive interrupts
until it reads a complete line.

Note that the kernel cannot handle a process that does not munmap the
VMR before exiting.  I'm not willing to overhaul things for a ghetto
interface/device yet, so just be careful.
kern/include/eth_audio.h
kern/src/devfs.c
kern/src/eth_audio.c
tests/eth_audio.c