summaryrefslogtreecommitdiffstats
path: root/c/src
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-02-11 13:03:48 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-02-11 13:03:48 +0000
commit099ea99151c18594a31cc36c0125517794549a9f (patch)
treea535ae4407a336751f30b342881b05e4f392be68 /c/src
parent2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-099ea99151c18594a31cc36c0125517794549a9f.tar.bz2
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* sh7032/delay/delay.c, sh7032/score/cpu_asm.c, sh7032/score/ispsh7032.c, sh7045/sci/sci.c, sh7045/sci/sci_termios.c, sh7045/score/cpu_asm.c, sh7045/score/ispsh7045.c, sh7750/sci/sh4uart.c, sh7750/score/cpu_asm.c, sh7750/score/ispsh7750.c, shgdb/score/cpu_asm.c, shgdb/score/ispshgdb.c: Use "__asm__" instead of "asm" for improved c99-compliance.
Diffstat (limited to 'c/src')
-rw-r--r--c/src/lib/libcpu/sh/sh7032/score/ispsh7032.c2
-rw-r--r--c/src/lib/libcpu/sh/sh7045/score/ispsh7045.c2
-rw-r--r--c/src/lib/libcpu/sh/sh7750/sci/sh4uart.c2
-rw-r--r--c/src/lib/libcpu/sh/sh7750/score/ispsh7750.c2
-rw-r--r--c/src/lib/libcpu/sh/shgdb/score/ispshgdb.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/c/src/lib/libcpu/sh/sh7032/score/ispsh7032.c b/c/src/lib/libcpu/sh/sh7032/score/ispsh7032.c
index 982b1906db..84b00a9456 100644
--- a/c/src/lib/libcpu/sh/sh7032/score/ispsh7032.c
+++ b/c/src/lib/libcpu/sh/sh7032/score/ispsh7032.c
@@ -81,7 +81,7 @@ _wdt_isp,
* We try to work around this problem by using the macro below.
*/
#define isp( name, number, func)\
-asm (".global _"Str(name)"\n\t" \
+__asm__ (".global _"Str(name)"\n\t" \
"_"Str(name)": \n\t" \
" mov.l r0,@-r15 \n\t" \
" mov.l r1,@-r15 \n\t" \
diff --git a/c/src/lib/libcpu/sh/sh7045/score/ispsh7045.c b/c/src/lib/libcpu/sh/sh7045/score/ispsh7045.c
index 94a9d8e860..a2126ecd70 100644
--- a/c/src/lib/libcpu/sh/sh7045/score/ispsh7045.c
+++ b/c/src/lib/libcpu/sh/sh7045/score/ispsh7045.c
@@ -107,7 +107,7 @@ _oei_isp, /* I/O Port: irq 156*/
* We try to work around this problem by using the macro below.
*/
#define isp( name, number, func)\
-asm (".global _"Str(name)"\n\t"\
+__asm__ (".global _"Str(name)"\n\t"\
"_"Str(name)": \n\t"\
" mov.l r0,@-r15 \n\t"\
" mov.l r1,@-r15 \n\t"\
diff --git a/c/src/lib/libcpu/sh/sh7750/sci/sh4uart.c b/c/src/lib/libcpu/sh/sh7750/sci/sh4uart.c
index a2c298bc38..fdbc350bfd 100644
--- a/c/src/lib/libcpu/sh/sh7750/sci/sh4uart.c
+++ b/c/src/lib/libcpu/sh/sh7750/sci/sh4uart.c
@@ -866,7 +866,7 @@ __asm__ (
" nop\n");
extern void ipl_serial_output(const char *buf, int len);
-asm (
+__asm__ (
" .global _ipl_serial_output\n"
"_ipl_serial_output:\n"
" mov #0,r0\n"
diff --git a/c/src/lib/libcpu/sh/sh7750/score/ispsh7750.c b/c/src/lib/libcpu/sh/sh7750/score/ispsh7750.c
index 77be0cf16b..d84751fa28 100644
--- a/c/src/lib/libcpu/sh/sh7750/score/ispsh7750.c
+++ b/c/src/lib/libcpu/sh/sh7750/score/ispsh7750.c
@@ -71,7 +71,7 @@ void *_VBR_Saved;
" or #" __STRINGIFY__(SH7750_TSTR_STR0) ",r1\n" \
" mov.b r1,@r0 \n"
-asm (" .text\n"
+__asm__ (" .text\n"
" .balign 256\n"
" .global __vbr_base\n"
"__vbr_base:\n"
diff --git a/c/src/lib/libcpu/sh/shgdb/score/ispshgdb.c b/c/src/lib/libcpu/sh/shgdb/score/ispshgdb.c
index ed63834101..c487f43445 100644
--- a/c/src/lib/libcpu/sh/shgdb/score/ispshgdb.c
+++ b/c/src/lib/libcpu/sh/shgdb/score/ispshgdb.c
@@ -93,7 +93,7 @@ _dummy_isp
* We try to work around this problem by using the macro below.
*/
#define isp( name, number, func)\
-asm (".global _"Str(name)"\n\t"\
+__asm__ (".global _"Str(name)"\n\t"\
"_"Str(name)": \n\t"\
" mov.l r0,@-r15 \n\t"\
" mov.l r1,@-r15 \n\t"\