summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/mvme162/startup/bspclean.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-02-11 12:37:56 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-02-11 12:37:56 +0000
commit8c3803128bc530c1c66ee30536102a1430d99ee8 (patch)
tree9418c59bea077f892f5c2ed6944f778d4a5b1396 /c/src/lib/libbsp/m68k/mvme162/startup/bspclean.c
parent2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-8c3803128bc530c1c66ee30536102a1430d99ee8.tar.bz2
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/bspclean.c, startup/page_table.c: Use "__asm__" instead of "asm" for improved c99-compliance.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/m68k/mvme162/startup/bspclean.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/m68k/mvme162/startup/bspclean.c b/c/src/lib/libbsp/m68k/mvme162/startup/bspclean.c
index c7f0807e68..1a5cec7151 100644
--- a/c/src/lib/libbsp/m68k/mvme162/startup/bspclean.c
+++ b/c/src/lib/libbsp/m68k/mvme162/startup/bspclean.c
@@ -36,8 +36,8 @@ void bsp_return_to_monitor_trap(void)
m68k_set_vbr(0xFFE00000); /* restore 162Bug vectors */
#endif
- asm volatile( "trap #15" ); /* trap to 162Bug */
- asm volatile( ".short 0x63" ); /* return to 162Bug (.RETURN) */
+ __asm__ volatile( "trap #15" ); /* trap to 162Bug */
+ __asm__ volatile( ".short 0x63" ); /* return to 162Bug (.RETURN) */
/* restart program */
/*
* This does not work on the 162....
@@ -47,7 +47,7 @@ void bsp_return_to_monitor_trap(void)
start_addr = start;
- asm volatile ( "jmp %0@" : "=a" (start_addr) : "0" (start_addr) );
+ __asm__ volatile ( "jmp %0@" : "=a" (start_addr) : "0" (start_addr) );
}
#endif
}
@@ -55,5 +55,5 @@ void bsp_return_to_monitor_trap(void)
void bsp_cleanup( void )
{
M68Kvec[ 45 ] = bsp_return_to_monitor_trap; /* install handler */
- asm volatile( "trap #13" ); /* insures SUPV mode */
+ __asm__ volatile( "trap #13" ); /* insures SUPV mode */
}