summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-02-11 12:34:23 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-02-11 12:34:23 +0000
commit5e858ba7048904f903215f0b45a7606e7d4bb328 (patch)
tree4a3a4e9a645180204a9b7bc5a809cf23a1ca12f8 /c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c
parent2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-5e858ba7048904f903215f0b45a7606e7d4bb328.tar.bz2
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/bsp.h, shmsupp/lock.c, startup/bspclean.c: Use "__asm__" instead of "asm" for improved c99-compliance.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c b/c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c
index 0fc64ffd4d..1d2f511db7 100644
--- a/c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c
+++ b/c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c
@@ -23,12 +23,12 @@ void bsp_return_to_monitor_trap(void)
register volatile void *start_addr;
m68k_set_vbr( 0 ); /* restore 135Bug vectors */
- asm volatile( "trap #15" ); /* trap to 135Bug */
- asm volatile( ".short 0x63" ); /* return to 135Bug (.RETURN) */
+ __asm__ volatile( "trap #15" ); /* trap to 135Bug */
+ __asm__ volatile( ".short 0x63" ); /* return to 135Bug (.RETURN) */
/* restart program */
start_addr = start;
- asm volatile ( "jmp %0@" : "=a" (start_addr) : "0" (start_addr) );
+ __asm__ volatile ( "jmp %0@" : "=a" (start_addr) : "0" (start_addr) );
}
#define TIMER 0xfffb0000
@@ -41,5 +41,5 @@ void bsp_cleanup( void )
Z8x36_WRITE( TIMER, CT1_CMD_STATUS, 0x00 );
M68Kvec[ 45 ] = bsp_return_to_monitor_trap; /* install handler */
- asm volatile( "trap #13" ); /* insures SUPV mode */
+ __asm__ volatile( "trap #13" ); /* insures SUPV mode */
}