linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* While(1) in kernel space
@ 2008-07-08  7:55 Paolo Doz
  2008-07-08 14:19 ` Grant Likely
  2008-07-08 14:44 ` Chris Friesen
  0 siblings, 2 replies; 6+ messages in thread
From: Paolo Doz @ 2008-07-08  7:55 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 491 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 515 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-07-08 20:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-08  7:55 While(1) in kernel space Paolo Doz
2008-07-08 14:19 ` Grant Likely
2008-07-08 14:45   ` Arnd Bergmann
2008-07-08 14:47     ` Grant Likely
2008-07-08 20:53       ` Paolo Doz
2008-07-08 14:44 ` Chris Friesen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).