On Sat, 15 Oct 2016 16:06:23 -0500
Jon Elson <el...@pico-systems.com> wrote:

> On 10/14/2016 12:09 PM, Erik Friesen wrote:
> > I guess I am not following how a hardware interrupt gets mapped to the
> > userspace/lcnc servo thread.  Any pointers on this?
> >
> >
> Supposedly, this is fairly easy to do on the rt-preempt 
> kernel.  It seems it was harder to do this through RTAI.
> Michael Haberler says he has tested this on machinekit, but 
> of course the interrupt system on the ARMs is totally 
> different than on X86.
> 
> Jon

Map an interrupt to a servo thread in linuxcnc running a linux kernel I have no 
idea.

I however know the ARM Cortex-M* model have a nested interrupt controller with 
priority and with priorities set correct it is possible to implement 
rate-monotonic scheduling in hardware with this. I works fo simple systems and 
there are quite few threads in linuxcnc although more might be needed for the 
communication.

The highet end ARMs to my knowledge lack this interrupt controller. They are 
fast but lack the hardware to rely on any theory for real time tasks.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to