Follow-up Comment #1, patch #6805 (project avr-libc):

The patch for the GCC is not complete.
1. No numeric argument to the 'interrupt' attribute is implemented.
2. Not possible use one interrupt handler for some interrupt vectors.

I propose to implement the interface for interrupt handler functions as:

__attribute__ ((vectors(N1[, N2[, ...]]), [signal, interrupt, nmi, naked]))
void handler_mame (void);

The 'vectors' attribute specify interrupt vector numbers for handler
function.

The 'signal', 'interrupt', 'nmi' and 'naked' attributes specify type of
handler function. Need use only one. The default attribute is  'signal'.

Anatoly.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?6805>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to