at91sam7x: force inlining of all the UART ISR functions.
authorarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 19 Apr 2010 16:03:35 +0000 (16:03 +0000)
committerarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 19 Apr 2010 16:03:35 +0000 (16:03 +0000)
commit2c8af54b2053cae5a6b5ff073cfd94606b21920a
treec6544362099017945671a25eda5bfe530b9520eb
parente4890db2fe50b46df7030f7cfc5e476fb075a889
at91sam7x: force inlining of all the UART ISR functions.

NOTE: this is not just an improvement (that is worth to be applied
anyway), it's also a workaround for a GCC bug
(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41999): the compiler
corrupts the stack pointer and the frame pointer when calling functions
with at least one parameter inside ISR functions, declared with
__attribute__((interrupt)).

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3465 38d2e660-2303-0410-9eaa-f027e97ec537
bertos/cpu/arm/drv/ser_at91.c