Files | |
file | most-sync-common.h |
Common functionality between real-time and non-real-time synchronous driver. | |
file | most-sync-m.c |
Implementation of the MOST Synchronous driver. | |
file | most-sync.h |
Declarations for the MOST Synchronous driver. |
This was done in following way:
/dev/mostsync#
.ioctl(),
read()
and write()
it's not possible to use the userspace calls because the data resides in userspace. So the functions most_sync_read(), and most_sync_write(), most_sync_setup_rx() and most_sync_setup_tx() were exported which form the base implementation of the system calls and can be used from kernelspace.It's not very clean but implementation was fast and the sound driver was a feature that was added shortly before the end of the thesis.