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]
I suppose you need to create a hardware device that issues the interrupt to the CPU. Maybe a MUTEX can be extended to do this, as usually you want to transfer data in a memory region with the interrupt and same often need to be protexted via a Mutex. Another good way is creating a FIFO that transfers the data and issues an interrupt on getting not empty (-> Linux) or empty (<- other CPU).
-Michael