This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: Interrupt handler attribute for m68k



  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


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