[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rtl] using fifo in kernel space.
You can think of the non-rt kernel as the idle task for the rt kernel.
So, you can use all of the rt fifo commands without any problems
(rtf_put, rtf_get, the posix interface, etc.), you just may get
preempted by rt kernel since you are the low priority guy. Note the the
fifo stuff is designed to handle preemption since it hard disables
interrupts. I use fifos in the kernel all the time interfacing to the
networking code.
Robert
Ish Rattan wrote:
>On Fri, 30 Nov 2001, Saikrishnan Krishnamurthy wrote:
>
>>Hi ishwar,
>>
>> I guess I did'nt frame my question properly, last time. Sorry about
>>that. Iam trying to open the fifo and write into it, from my
>>"non-rt kernel module" and not from the userspace. Iam wondering how to
>>open/read/write from the "nonRT kernel space" Module.
>>
>As far as I know open/read/write are not available for kernel programming
>as they just provide interface to kernel itself.
>
>-ishwar
>
>-- [rtl] ---
>To unsubscribe:
>echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
>echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
>--
>For more information on Real-Time Linux see:
>http://www.rtlinux.org/
>