trap exceptions in user
I need to trap and manage exceptions (floating point for example). I want to execute at user domain (x86-ring 3) something like that
real_time_task function:
{
<set exception handlers> (for example fpu_handler)
<real time code (asm x86)> (this code need custom management of exceptions)
<release exception handlers>
}
fpu_handler function
{
...
}
I need to customize some exception (fpu is the most important) inside real time. How can I do that?
Is it possible in the rt user domain? And what about that in the rt-kernel domain?
Thank you
Scopri il blog di Yahoo! Mail:
Trucchi, novità e la tua opinione.
http://www.ymailblogit.com/blog
Quoted 3 lines · Gabriele Moabiti
I need to customize some exception (fpu is the most important) inside real time. How can I do that?
Is it possible in the rt user domain? And what about that in the rt-kernel domain?
You should probably tell us what you want to do instead of how you want to do it. Because what you ask requires xenomai kernel modifications and will have really poor performances, so is a solution which you should avoid.
So, what does your real-time x86 assembler code do exactly ?
Signature · 1 line
Gilles.