This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Interrupt handler attribute for m68k
- To: "John Breen" <jab3 at hotmail dot com>
- Subject: Re: Interrupt handler attribute for m68k
- From: Jeffrey A Law <law at hurl dot cygnus dot com>
- Date: Tue, 15 Dec 1998 14:57:06 -0700
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <19981215214326.22090.qmail@hotmail.com>you write:
> I was thinking of trying my hand at implementing an attribute for
> specifying interrupt handlers for the m68k. I see that it's been done
> for a handful of processors, but they all seem to do things a little
> differently. Which one would be the best to use as a model?
Not sure. Probably whichever port has code which most closely matches the
m68k's prologue/epilogue code.
> The first question that occurs to me is what should the attribute be
> called? Most seem to use __interrupt__, although one appeared to use
> __interrupt_handler__. Then again, Motorola (at least) uses the more
> general term "exception", although I'll be happy to stick with
> __interrupt__ if it will minimize confusion.
Use "__interrupt__".
"__interrupt_handler__" was mandated by external forces :(
jeff