This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

using the interrupt attribute


Hi all,
I'm using the arm-elf-gcc compiler version 2.95.2-6 under cygwin for the
atmel arm processor at91fr40807.
Should the following function compile?
Can anyone point me to an example of how to use this option?

Class foo
{
public:
static f(void) __attribute__ ((interrupt("IRQ")));

}

void foo::f(void) __attribute__ ((interrupt("IRQ")))
{;}
also does the
#pragma interrupt
#pragma nointerrupt
 and  work?

thanks

Richard Slaughter
rslaughter@anatel.com


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]