On Thu, Mar 21, 2002 at 09:25:37PM +0100, J�rgen Falmer wrote: > My question is: if i use the PLD to multiplex the interrupts from > the peripherials into one interrupt connected to the CPU (the CPU > has to read a status register in the PLD after an interrupt in order > to find out which unit caused it), will that work at all?
We already do this with things like the SA1111 chip. Have a look at arch/arm/mach-sa1100/sa1111.c > My thought > was to write some Interrupt wrapper in Linux that caught all these > interrupts and found out which unit it was, and then would issue an > SWI that the actual device driver would catch. Bad Move(tm). Think about this situation: SWIs can be issued from applications. What if an application issues a SWI that corresponds to your interrupt handler (by accident?) I strongly recommend against this. _______________________________________________ http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm http://www.arm.linux.org.uk/armlinux/mailinglists.php Please visit the above addresses for information on this list.
