On 05/04/2011 09:11 AM, Aurele Traynard wrote:
> Ok I will explain more things :
> My software makes the system freezing, when my interrupt handler is called
> for the first time I think that he is called again and again and again and
> this never stops. And so this freeze the system
> but I am not totaly sure.
> I'm sure that it is not Xenomai's fault it is just mine. I think I don't use
> Xenomai correctly...
> That's why I am asking if "ioremap" "readl/writel" is the best way to
> read/write CPU registers and if there are other ways.
Yes they are. But if your aim is to acknowledge/mask the interrupt line
at the interrupt controller level, this should not be done in the
interrupt handler, it is supposed to be done in the irqchip callbacks
for the interrupt controller you use.
--
Gilles.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help