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

* include/bsp.h, include/tm27.h, tools/debug_c/serial_gdb.h:
	Use "__asm__" instead of "asm" for improved c99-compliance.
This commit is contained in:
Ralf Corsepius
2011-02-11 12:04:32 +00:00
parent 528483ed3d
commit 42db103cda
4 changed files with 8 additions and 3 deletions
+5
View File
@@ -1,3 +1,8 @@
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/bsp.h, include/tm27.h, tools/debug_c/serial_gdb.h:
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>.
+1 -1
View File
@@ -81,7 +81,7 @@ extern void Wait_X_ms (unsigned);
\
_counter = (_microseconds); \
\
asm volatile ( "0: nop;" \
__asm__ volatile ( "0: nop;" \
" mov %0,%0 ;" \
" loop 0b" : "=c" (_counter) \
: "0" (_counter) \
@@ -25,7 +25,7 @@
#define Install_tm27_vector(handler)
#define Cause_tm27_intr() asm volatile( "int $0x90" : : );
#define Cause_tm27_intr() __asm__ volatile( "int $0x90" : : );
#define Clear_tm27_intr() /* empty */
@@ -10,7 +10,7 @@ extern "C" {
void init_serial_gdb( void );
#define breakpoint() asm("int $3")
#define breakpoint() __asm__ ("int $3")
#ifdef __cplusplus
}