Altera_Forum
Honored Contributor
14 years agoI/o irq
Hello my system has two CPUs- CPU1 w/ linux and cpu2 w/o linux. I want to handle an IRQ inside CPU1 Linux generated by CPU2 when it writes to a PIO . [cpu1]---[cpu2]
In the device driver you need to register the IRQ with the Kernel to have it call a function of yours when an interrupt occurs.
Take a look at another driver (e.g. TTY) on how this is done. -Michael