> David Hawkins:
> irq_isr:
> sub lr, lr, #4
> stmfd sp!, {r0-r3, ip, lr}
> bl irq_handler
> ldmfd sp!, {r0-r3, ip, pc}^
>
>
> /* VICVectAddr dispatch loop */
> void irq_handler(void)
wouldn't this handler need the "naked" attribute when using the stub
above? would you please write out the declaration in full?
> {
> /* Process IRQ interrupts */
> irq_handler_t handler;
> while (VICIRQStatus) {
> /* Get the address of the highest priority handler */
> handler = (irq_handler_t)VICVectAddr;
>
> /* Execute the handler */
> (*handler)();
>
> /* Acknowledge the VIC */
> VICVectAddr = 0;
> }
> }
clemensMessage
Re: [lpc2000] {To TomW} GCC-Bug in IRQs
2006-03-27 by clemens fischer