From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: thomas.debes@domain.hid
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Floating Point Exceptions in RT-Tasks
Date: Fri, 13 Feb 2009 13:16:50 +0000 [thread overview]
Message-ID: <499572C2.3060609@domain.hid> (raw)
In-Reply-To: <4B2EEE69E41E524EB7FCDC62A15D68D80308F137@domain.hid>
thomas.debes@domain.hid wrote:
> Hi,
>
> I successfully managed to enable FP Exceptions on our MPC5200 board for
> plain linux applications (via fesetenv). When I put the same trigger
> code (DivByZero) into a (native) RT task no exception is triggered until
> I force a mode switch to secondary mode (e.g. printf). How can I get
> them without performing the mode switch?
An FPU exception triggers a signal, and signal can only be sent to a
task running in secondary mode. So, even if we managed to get the signal
to be sent to the task immediately, it would cause it to switch to
secondary mode. Is it really what you want?
--
Gilles.
next prev parent reply other threads:[~2009-02-13 13:16 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-13 12:58 [Xenomai-help] Floating Point Exceptions in RT-Tasks thomas.debes
2009-02-13 13:16 ` Gilles Chanteperdrix [this message]
2009-02-13 14:01 ` Gilles Chanteperdrix
2009-02-16 6:19 ` thomas.debes
2009-02-18 14:07 ` thomas.debes
2009-02-18 14:12 ` Gilles Chanteperdrix
2009-02-18 14:16 ` thomas.debes
2009-02-18 14:31 ` Wolfgang Grandegger
2009-02-18 18:58 ` Wolfgang Grandegger
2009-02-18 19:04 ` Philippe Gerum
2009-02-18 19:10 ` Philippe Gerum
2009-02-19 9:25 ` thomas.debes
2009-02-19 15:14 ` Philippe Gerum
2009-02-19 15:19 ` Philippe Gerum
2009-02-19 17:21 ` thomas.debes
2009-02-20 8:44 ` roderik.wildenburg
2009-02-20 9:35 ` Philippe Gerum
2009-02-20 10:35 ` roderik.wildenburg
2009-03-03 14:04 ` thomas.debes
[not found] ` <49AE4264.6070506@domain.hid>
2009-03-05 8:01 ` thomas.debes
2009-03-05 8:17 ` thomas.debes
2009-03-05 9:18 ` Philippe Gerum
2009-03-05 14:13 ` roderik.wildenburg
2009-03-05 14:43 ` Philippe Gerum
2009-03-05 21:05 ` Wolfgang Grandegger
2009-03-05 21:20 ` Philippe Gerum
2009-03-06 18:27 ` Philippe Gerum
2009-03-23 14:25 ` roderik.wildenburg
2009-03-24 9:22 ` Philippe Gerum
2009-03-06 7:17 ` roderik.wildenburg
2009-03-06 10:44 ` Philippe Gerum
[not found] ` <49B10464.8010703@domain.hid>
2009-03-06 11:38 ` Philippe Gerum
2009-03-06 12:06 ` roderik.wildenburg
2009-03-06 14:26 ` Philippe Gerum
2009-02-13 14:40 ` Philippe Gerum
2009-02-16 6:00 ` thomas.debes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=499572C2.3060609@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=thomas.debes@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.