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: Interrupt Attribute for 68K


On Tue, May 04, 1999 at 09:33:17AM +1000, David Williams wrote:
> 1. Is this supported for 68K targets?

AFAIK, not yet - I have not found the time to get the legal things done to
get the patch incorporated. However, you can easily apply it to your copy of
gcc.

> 2. Is there already some source code for set and get interrupt vectors for 
> 68K targets?

If you know the vector base is fixed, it's just setting an entry in a table
of vectors, ie.

vectors[num] = handler;
(and define vectors in the linker script, or define a pointer which is cast
to the table base).

What special code do you need for that?

cu
Michael
-- 
Michael Schwingen, Ahornstrasse 36, 52074 Aachen
_______________________________________________
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.