Le 07/03/2013 16:33, Jerome Poncin a écrit :
Le 06/03/2013 22:05, Gilles Chanteperdrix a écrit :
On 03/06/2013 04:28 PM, Jan Kiszka wrote:

Also here: Do not misuse write(), define an IOCTL that contains
something like "MMAP" and another one with MUNMAP in its name - that's
the purpose of this service, no?

A lot of drivers probably have to reinvent a way to pass all the
parameters for an mmap, why not adding an "mmap" method to RTDM drivers?


Hello,

I  re factored my code with all your remarks (I think and I hope).

Could you say me if it's correct now ?

Jan, you're right, It's possible to use Xenomai with UIO driver, but I would like to use more real time possibilities of Xenomai in future (like IRQ).
My first goal is to have a code compliant.
I added IRQ, and my next step will be to understand why the kernel crash after IRQ registration.

Thank you for your help,

Jerome



Hello,

I have good news because, I arrived to validated driver with IRQ support. I changed position of cifx on my motherboard in my PC and the IRQ affected is not shared ;-) !

I have now a question about IRQ. What is the good method to signal to user-land that there is an IRQ. Is there an example ?

Thank you for your help,

Jerome

--

Hilscher France
12, rue du 35ème Régiment d'Aviation
Miniparc du Chêne
69500 BRON
France
Tél. : +33 (0) 4 72 37 98 40
Fax  : +33 (0) 4 78 26 83 27
http://www.hilscher.fr
HILSCHER FRANCE         Jérôme Poncin
[email protected]
Ingénieur Développement Logiciel
Tél. : +33 (0) 4 72 37 98 44





_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to