This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Optimize Interrupts PowerPC
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: "Meulendijks, J." <Meulendijks at WT dot TNO dot NL>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 27 Dec 2004 14:24:12 -0500
- Subject: Re: Optimize Interrupts PowerPC
- References: <6B80E71673E6D611AC1D0008C7F37BC203F8E624@wt15.wt.tno.nl>
>>>>> Jeroen writes:
> I have a question regarding the interrupts on the PowerPC platform. Is it
> possible to let the compiler know some function is an interrupt handler? I
> read the documentation and saw things like __attribute((interrupt)) but
> these options only applied to certain platforms and where _not_ for
> PowerPC.
The PowerPC port of GCC does not provide any special features for
functions that will be used as interrupt handlers. One can use the
generic features of GCC, but the PowerPC target of GCC does not adjust its
behavior specifically for interrupt handlers.
David