interrupt handlers PowerPC via GCC
Tehn Yit Chin
tehn.yit.chin at gmail.com
Thu Mar 20 11:06:34 EST 2008
Hi all,
Apologies for such a basic question. I am trying to write an ISR on a
MPC551x. When I tried to use the interrupt attribute with
powerpc-eabi-gcc such as
_attribute_((interrupt_handler)) foobarISR(void)
{
}
it complains of a syntax error. Upon further investigation in the GCC,
it appears that the interrupt attribute is not supported by
powerpc-eabi-gcc.
Am I missing something fundamental here? How are the current interrupt
service routines created at the moment?
Any pointers would be appreciated.
tyc
More information about the Linuxppc-embedded
mailing list