From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from hu-out-0506.google.com (hu-out-0506.google.com [72.14.214.230]) by ozlabs.org (Postfix) with ESMTP id 6F00DDDEE0 for ; Tue, 8 Jul 2008 17:55:09 +1000 (EST) Received: by hu-out-0506.google.com with SMTP id 34so7657229hue.9 for ; Tue, 08 Jul 2008 00:55:07 -0700 (PDT) Message-ID: <5468b7f30807080055p69571979i9a565653e523c2c0@mail.gmail.com> Date: Tue, 8 Jul 2008 09:55:06 +0200 From: "Paolo Doz" To: linuxppc-dev@ozlabs.org Subject: While(1) in kernel space MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_25956_31746814.1215503706756" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , ------=_Part_25956_31746814.1215503706756 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_25956_31746814.1215503706756 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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
------=_Part_25956_31746814.1215503706756--