forked from Imagelibrary/rtems
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:
@@ -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>.
|
||||
|
||||
@@ -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 */
|
||||
|
||||
|
||||
@@ -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" );
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user