Re: x86 hal_*.c #if'ed out?

Sebastian Kuzminsky <[email protected]>
Newsgroups gmane.linux.real-time.rtai
Message-ID <[email protected]>
On 11/24/15 5:02 AM, Paolo Mantegazza wrote:
> So now there are just rt_request/free_timers.
> Therefore reason you do not see the above mentioned function is that I
> did thought that the hard timers should have not been used at its level,
> as they were just for start/stop_rt_timer found in the scheduler.
> In any case I would like to not break any established usage of interest.
> So, if you give mi a list of missing functions
> I'll care to provide them again through an appropriate wrapping with the
> core supports.

Thanks for the explanations.

The only API function from RTAI 3.x that I've found missing in RTAI 
5.0-test1 (Vulcano) in my testing so far is rt_free_timer().  I'm 
calling rt_free_timers() instead and that's working fine.

The LinuxCNC build system detects the RTAI version (by running 
"rtai-config --version"), and can take different actions based on what 
it finds.  It would work fine for us to use the RTAI 5 API 
(rt_free_timers()) on RTAI 5 and the RTAI 3 API (rt_free_timer()) on 
older versions.  Or if you want to add rt_free_timer() back into the 
API, we could keep calling that.  Either way works for us.


-- 
Sebastian Kuzminsky
_______________________________________________
Rtai mailing list
[email protected]
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.