gcc: m68k Function Attributes
1
1 6.31.13 m68k Function Attributes
1 --------------------------------
1
1 These function attributes are supported by the m68k back end:
1
1 'interrupt'
1 'interrupt_handler'
1 Use this attribute to indicate that the specified function is an
1 interrupt handler. The compiler generates function entry and exit
1 sequences suitable for use in an interrupt handler when this
1 attribute is present. Either name may be used.
1
1 'interrupt_thread'
1 Use this attribute on fido, a subarchitecture of the m68k, to
1 indicate that the specified function is an interrupt handler that
1 is designed to run as a thread. The compiler omits generate
1 prologue/epilogue sequences and replaces the return instruction
1 with a 'sleep' instruction. This attribute is available only on
1 fido.
1