This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Re: On demand FP context switch major problem.
Nick Garnett <nickg@cygnus.co.uk> writes:
> Sergei Organov <osv@javad.ru> writes:
[...]
> >
> > Possibility to configure eCos to use simple variant of FP context switch still
> > remains. If application requires FPU even in ISRs/DSRs/alarm handlers, then
> > it's likely that most of tasks require FPU as well, so there is no reason to
> > use on-demand context switch implementation that has some overhead anyway.
>
> I suspect that this is the best approach to this problem. At least for
> the present, or until someone works out how to do it properly. I would
> much rather not provide a facility than supply a badly thought-out or
> poorly implemented version.
Exactly. So I'll focus on implementing on-demand without capability to use FP
in ISRs/DSRs, and leave capability to use FP in ISRs/DSRs only when simple FP
context switch policy is configured.
>
> --
> Nick Garnett
> Cygnus Solutions, a Red Hat Company
> Cambridge, UK
BR,
Sergei.