Hia Chandu,
I never knew that HCL is into RTLinux. Even we guys here in noida are taking up RTLinux as an intiative to build/develop skills.. And, btw does CTD has a RTLinux/Pro version licensed ?? - Tom -- Ageing is Inevitable; Maturing is Optional -----Original Message----- From: Chandu Reddy K - CTD, Chennai. Sent: Wednesday, April 10, 2002 2:28 PM To: [EMAIL PROTECTED] Subject: RE: [rtl] RTFIFO and floats Hi all i have come across one application which was written as Rtlinux module. which is having floating point operations. As Linux kernel is not desinged for effective floating point support, whether it is acceptable to have more floating calculations in kernel space. advance thanks chandu -----Original Message----- From: Mario Taschwer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 1:48 AM To: [EMAIL PROTECTED] Subject: Re: [rtl] RTFIFO and floats A FIFO-handler (registered via rtf_create_handler()) is executed in Linux kernel context, which does not support floating-point operations. Try to let the FIFO-handler just wake up an FP RT thread that actually calls rtf_get() on the float type. Mario Taschwer On Tue, Apr 09, 2002 at 08:32:27PM +0200, Michael Nielsen wrote: > > > Make sure you used rtl_pthread_attr_setfp when you created the thread. > > Victor Yodaiken > > Must the FIFO-handler be a thread ? > > I have made it just like you make an ordinary interrupt service routine (normal kernel function). Is that wrong ? > > By the way when i print the same float as hexadecimal number (option %x) in both the user-space program and in the kernel-space, they are different, but if i cast it to unsigned int then they seem to be identical. > Can you give a good explanation for that ? > > Thanks in advance > > Michael -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED] -- For more information on Real-Time Linux see: http://www.rtlinux.org/ -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED] -- For more information on Real-Time Linux see: http://www.rtlinux.org/