diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-02-11 12:36:10 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-02-11 12:36:10 +0000 |
commit | 89815e1096ee51e921248487ac48c312c36d329e (patch) | |
tree | 37777e1b6d01101598954b62388b991e9f8c3e00 /c/src/lib/libbsp/m68k/mcf5329/startup/cfinit.c | |
parent | 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-89815e1096ee51e921248487ac48c312c36d329e.tar.bz2 |
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/cfinit.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
Diffstat (limited to 'c/src/lib/libbsp/m68k/mcf5329/startup/cfinit.c')
-rw-r--r-- | c/src/lib/libbsp/m68k/mcf5329/startup/cfinit.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/c/src/lib/libbsp/m68k/mcf5329/startup/cfinit.c b/c/src/lib/libbsp/m68k/mcf5329/startup/cfinit.c index d265ca95ac..1f6502f350 100644 --- a/c/src/lib/libbsp/m68k/mcf5329/startup/cfinit.c +++ b/c/src/lib/libbsp/m68k/mcf5329/startup/cfinit.c @@ -118,8 +118,8 @@ static void disable_watchdog_timer(void) **********************************************************************/ static void disable_cache(void) { - asm("move.l #0x01000000,%d0"); - asm("movec %d0,%CACR"); + __asm__ ("move.l #0x01000000,%d0"); + __asm__ ("movec %d0,%CACR"); } /********************************************************************* @@ -182,13 +182,13 @@ static void init_cache(void) * Cache is enabled in bspstart.c */ #if 0 - asm("move.l #0xa0000600,%d0"); - asm("movec %d0,%CACR"); + __asm__ ("move.l #0xa0000600,%d0"); + __asm__ ("movec %d0,%CACR"); #endif - asm("move.l #0x4001c020,%d0"); - asm("movec %d0,%ACR0"); - asm("move.l #0x00000000,%d0"); - asm("movec %d0,%ACR1"); + __asm__ ("move.l #0x4001c020,%d0"); + __asm__ ("movec %d0,%ACR0"); + __asm__ ("move.l #0x00000000,%d0"); + __asm__ ("movec %d0,%ACR1"); } /********************************************************************* |