interrupt type from user mode
rpm at xenomai.org
Fri Jan 11 11:45:07 CET 2019
On 1/10/19 11:34 AM, Stefano Franzoni via Xenomai wrote:
> Dear experts
> I have to make changes to a project developed years ago with arm
> architecture (atmel AT91SAM9G20) with linux 2.6.30 and xenomai 2.5.4.
> The program uses a xenomai application in user mode and is connected to an
> interrupt (IRQ0).
> I should reprogram the interrupt controller to receive interrupt on the
> rising edge, but I did not understand if this is possible from Xenomai
> user mode.
> I know that I should develop an RTDM project but I'm trying to reuse a
> code already written that was entirely in user mode.
Unfortunately, there won't be any other option than adding the required
setup bits via some code living in kernel space. There is no userland
API exposing interrupt types in 2.5.4, you could control masking only.
More information about the Xenomai