2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>

* include/tm27.h, startup/spurious.c:
	Use "__asm__" instead of "asm" for improved c99-compliance.
This commit is contained in:
Ralf Corsepius
2011-02-11 10:06:48 +00:00
parent 3668643b45
commit 3e6eed7683
3 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/tm27.h, startup/spurious.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>.

View File

@@ -39,7 +39,7 @@
set_vector( (handler), TEST_VECTOR, 1 );
#define Cause_tm27_intr() \
asm volatile( "ta 0x10; nop " );
__asm__ volatile( "ta 0x10; nop " );
#define Clear_tm27_intr() /* empty */

View File

@@ -128,7 +128,7 @@ rtems_isr bsp_spurious_handler(
* What else can we do but stop ...
*/
asm volatile( "mov 1, %g1; ta 0x0" );
__asm__ volatile( "mov 1, %g1; ta 0x0" );
}
/*