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


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

Re: Interrupts with GCC/EGCS


From: Brendan Simon <brendan@dgs.monash.edu.au>
>How do if the interrupt keyword exists for a particular target.  I am
>interested in 68k and powerpc.

I started working on adding the interrupt attribute for the m68k in 
egcs, but I didn't get very far.  If you're interested in continuing 
with it, I could send you my notes.

>What is the syntax to the attribute ?  Is it the same for all supported
>targets or is it target dependent ?

Some use __interrupt__.  At least one uses __interrupt_handler__.  Jeff 
told me to use __interrupt__.

>I couldn't find any info in the general gcc/egcs docs.  Are there 
target
>specific docs which give answers to my questions or do I have to hunt
>through all the source code ?

I pretty much had to hunt through the source code (what I did was grep 
"interrupt" in the machine-dependent source files; I can't remember all 
the ones that supported it, except for the c4x).
--
John A. Breen
jab3@hotmail.com

Get Your Private, Free Email at http://www.hotmail.com
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.