From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4FFC5FA0.2030807@xenomai.org> Date: Tue, 10 Jul 2012 19:00:16 +0200 From: Philippe Gerum MIME-Version: 1.0 References: <4FFBEA93.5070202@xenomai.org> <4FFBF197.4050203@xenomai.org> <4FFBF7A0.7070601@xenomai.org> <4FFC43B8.2030203@xenomai.org> <4FFC50FD.7090008@xenomai.org> <20120710162451.GD19565@csclub.uwaterloo.ca> In-Reply-To: <20120710162451.GD19565@csclub.uwaterloo.ca> Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: 8bit Subject: Re: [Xenomai] XDDP and inter-driver API. List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Lennart Sorensen Cc: xenomai@xenomai.org On 07/10/2012 06:24 PM, Lennart Sorensen wrote: > On Tue, Jul 10, 2012 at 12:15:24PM -0400, Sunetra Sashi wrote: >> Thanks for clarifying. I should have said ¨not possible using Xenomai >> IPCs¨. Sorry about that. >> >> I am not trying to port legacy code. I am instead trying to establish a >> communication pathway from voice applications in user land to some real >> time xenomai code running within the kernel via a linux driver KM running >> native linux. In our instance, it is necessary that the code executes in >> the kernel space. > > Nothing is ever necesary. Sometimes it may be easier. > >> On a related note, if I create a simple xenomai kernel module running real >> time code and signal events to it from linux kernel space (via the rt_event >> API) and communicate information back via interrupts (assuming we manage >> memory via shared buffers), would that considered to be a true >> Linux-Xenomai switch? > > My understanding was that xenomai 3.x won't even allow kernel mode > realtime anymore, only userspace, so unless you have no intension of > ever going to future versions, you probably don't want to design your > code that way. > > I must admit I haven't checked the details of that to see how device > drivers for xenomai are supposed to be handled in 3.x. > Xenomai will allow real-time mode in kernel space, but only over RTDM tasks. -- Philippe.