Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldfire-gnu-discuss] ColdFire Interrupts


  • To: Corrin Meyer <Corrin.Meyer@xxxxxxxxxxxxxxx>
  • Subject: Re: [coldfire-gnu-discuss] ColdFire Interrupts
  • From: Nathan Sidwell <nathan@xxxxxxxxxxxxxxxx>
  • Date: Wed, 02 Jul 2008 15:43:23 +0100

Corrin Meyer wrote:

Thank you for filing an enhancement request.  My other question is in
regards to the "__attribute__((interrupt))".  Should I be using
"interrupt" or "interrupt_handler".  I saw that there had been some
discussion on which name to use, but I never found a resolution.

They are equivalent. Historically some gcc targets used one and some used the other, which is confusing. So gcc was changed to accept both. The canonical one is 'interrupt'.

nathan

--
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery