[coldfire-gnu-discuss] ColdFire Interrupts

Nathan Sidwell nathan at codesourcery.com
Wed Jul 2 14:43:23 UTC 2008


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




More information about the coldfire-gnu-discuss mailing list