[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rtl] HRT_FROM_8254() bug
Thanks for your notice; the second "idivl" in hrt_to_8254
in include/i386/rtl_time.h should actually be "divl".
Michael.
frank mori hess (fmhess@students.uiuc.edu) wrote:
>
> Hello,
>
> I am using rtlinux-3.0, kernel2.2.18 on an i386 (amd k6-2) and I have
> noticed that HRT_FROM_8254() bugs if you give it an argument greater than
> 0x7FFFFFFF. This is causing crashes (division errors) when I call the
> compatibility function rt_task_make_periodic(), which calls
> HRT_FROM_8254() to convert from RTIME to hrtime_t to translate arguments
> into the newer api.
>
> Frank
> -- [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/rtlinux/