[PATCH] MIPS function attributes for interrupt handlers
Daniel Jacobowitz
drow@false.org
Wed Feb 25 17:51:00 GMT 2009
On Tue, Feb 24, 2009 at 06:02:08PM -0800, Fu, Chao-Ying wrote:
> Hi All,
>
> Based on the discussions last year, I will update my interrupt patch to
> support only the following
> attributes.
>
> void __attribute__ ((interrupt )) v0 () { }
> void __attribute__ ((interrupt (use_shadow_register_set))) v1 () { }
> void __attribute__ ((interrupt (keep_interrupts_masked))) v2 () { }
> void __attribute__ ((interrupt (use_shadow_register_set,
> keep_interrupts_masked))) v3 () { }
I have one question: does the patch cause GCC to generate eret? If
so, is there another attribute needed for deret?
--
Daniel Jacobowitz
CodeSourcery
More information about the Gcc-patches
mailing list