linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* interrupt handlers PowerPC via GCC
@ 2008-03-20  0:06 Tehn Yit Chin
  2008-03-20 17:18 ` Scott Wood
  0 siblings, 1 reply; 4+ messages in thread
From: Tehn Yit Chin @ 2008-03-20  0:06 UTC (permalink / raw)
  To: linuxppc-embedded

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-03-26  2:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-20  0:06 interrupt handlers PowerPC via GCC Tehn Yit Chin
2008-03-20 17:18 ` Scott Wood
2008-03-24 23:03   ` Tehn Yit Chin
2008-03-26  2:50     ` David H. Lynch Jr.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).