While(1) in kernel space

Paolo Doz paolo.doz at gmail.com
Tue Jul 8 17:55:06 EST 2008


Hi folks,
I'm developing a custom SPI driver (char device) on a MPC5200b, the
microcontroller linked as slave implements a protocol that must follow
strict timing constraints. I need to receive and send messages every 6msec.
Actually there is a user space program that synchronizes the two units, but
I would prefer to eliminate it and move the relative code into the kernel
space. Is it possible to have a non returning function, with a sort of
while(1) inside?

Thanks for the help

Paolo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080708/7e47611e/attachment.htm>


More information about the Linuxppc-dev mailing list