Jon Olson said:
> Don't know what you're using, but here's the code that I use in my embedded
> work to find the first IRQ bit in my StrongARM IRQ handler.  I did a bit
> of work on this one and I don't think you can make it much better.  Note
> that in this case, the `sl' register points to a vector of trap handlers,
> followed by a a vector of `this' pointers.

The IRQ code on the RiscPC, A5000 and ARC platforms are already
using lookup tables and the like for IRQ decoding.  The lookup
tables have priority encoded in them.

--
Russell King ([EMAIL PROTECTED])
Millbank Electronics Tel: 01825 764811 Fax: 01825 761620

unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to