All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] floating point (int 16) exception
@ 2008-10-31 16:26 Gabriele Moabiti
  2008-10-31 16:31 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 7+ messages in thread
From: Gabriele Moabiti @ 2008-10-31 16:26 UTC (permalink / raw)
  To: xenomai


[-- Attachment #1.1: Type: text/plain, Size: 819 bytes --]

Scenario:
Xenomai 2.4.5, kernel 2.6.24-7 (x86)
I have successfully trapped and restored int #0 (it is not reported in the example).
Now I want to trap fpu exceptions (#16) of a Xenomai user task (ring 3).

xfpu_xcpt.c -> kernel module used to intercept and manage fpu (#16) exceptions.
xfpu_user.c -> xenomai user task

The easiest way (it will not be so easy the final fpu exception manager of course!) to do this I knows was to do an fnclex but the example doesn't work (it hangs shortly).
I have tried *many* solutions but nothing works. I think the problem is I can't do a simple fnclex but I can't figure how to solve the problem.

Thank you


      Unisciti alla community di Io fotografo e video, il nuovo corso di fotografia di Gazzetta dello sport:
http://www.flickr.com/groups/iofotografoevideo

[-- Attachment #1.2: Type: text/html, Size: 1159 bytes --]

[-- Attachment #2: xfpu.tar.gz --]
[-- Type: application/x-gzip, Size: 2190 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-10-31 18:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-31 16:26 [Xenomai-help] floating point (int 16) exception Gabriele Moabiti
2008-10-31 16:31 ` Gilles Chanteperdrix
2008-10-31 16:47   ` Gabriele Moabiti
2008-10-31 16:52     ` Gilles Chanteperdrix
2008-10-31 17:15       ` Gabriele Moabiti
2008-10-31 17:20         ` Gilles Chanteperdrix
2008-10-31 18:41           ` Gabriele Moabiti

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.