On Tue, Sep 01, 2015 at 03:11:05PM -0400, Jorge Ramirez Ortiz wrote:
> On 09/01/2015 02:27 PM, Dmitriy Cherkasov wrote:
> > We have seen this before, but so far have not found a way to consistently
> > reproduce it.
> >
> > There are some caveats with the current way context switching is done in
> > Xenomai.
> >
> > On armv7, there was a completely separate implementation of
> > xnarch_switch_to(), as well as separate fpu and TLS switching.
> > At this stage for armv8 however, we are doing a direct call to
> > the kernel's __switch_to(), which then performs the relevant
> > register switches.
On arm 32 bits, the only difference between xnarch_switch_to and
switch_to is the FPU switch, IIRC, switch_to triggers a notifier
which I believe can not be called from primary domain. Or maybe it
can, but the FPU switch, can not be the same as Xenomai "FPU state
state machine", does not work the same as Linux.
--
Gilles.
https://click-hack.org
_______________________________________________
Xenomai mailing list
[email protected]
http://xenomai.org/mailman/listinfo/xenomai