From: "Paolo Doz" <paolo.doz@gmail.com>
To: linuxppc-dev@ozlabs.org
Subject: While(1) in kernel space
Date: Tue, 8 Jul 2008 09:55:06 +0200 [thread overview]
Message-ID: <5468b7f30807080055p69571979i9a565653e523c2c0@mail.gmail.com> (raw)
[-- 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 --]
next reply other threads:[~2008-07-08 7:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-08 7:55 Paolo Doz [this message]
2008-07-08 14:19 ` While(1) in kernel space 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5468b7f30807080055p69571979i9a565653e523c2c0@mail.gmail.com \
--to=paolo.doz@gmail.com \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).