<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems (2011-02-11)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/milkymist_networking/network.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/lm32/ChangeLog.diff?r1=text&tr1=1.18&r2=text&tr2=1.19&diff_format=h">M</a></td><td width='1%'>1.19</td><td width='100%'>c/src/lib/libbsp/lm32/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/lm32/shared/milkymist_networking/network.c.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>c/src/lib/libbsp/lm32/shared/milkymist_networking/network.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/lm32/ChangeLog:1.18 rtems/c/src/lib/libbsp/lm32/ChangeLog:1.19
--- rtems/c/src/lib/libbsp/lm32/ChangeLog:1.18 Wed Feb 9 02:19:30 2011
+++ rtems/c/src/lib/libbsp/lm32/ChangeLog Fri Feb 11 06:13:12 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * shared/milkymist_networking/network.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/milkymist_timer/timer.c, shared/timer/timer.c:
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/lm32/shared/milkymist_networking/network.c:1.1 rtems/c/src/lib/libbsp/lm32/shared/milkymist_networking/network.c:1.2
--- rtems/c/src/lib/libbsp/lm32/shared/milkymist_networking/network.c:1.1 Fri Aug 20 16:23:27 2010
+++ rtems/c/src/lib/libbsp/lm32/shared/milkymist_networking/network.c Fri Feb 11 06:13:12 2011
</font><font color='#997700'>@@ -297,7 +297,7 @@
</font>
for (j = 0 ; j < NB_RX_SLOTS ; j++) {
if (minimac_read(rx_slot_state[j]) == MINIMAC_STATE_PENDING) {
<font color='#880000'>- asm volatile( /* Invalidate Level-1 data cache */
</font><font color='#000088'>+ __asm__ volatile( /* Invalidate Level-1 data cache */
</font> "wcsr DCC, r0\n"
"nop\n"
);
</pre>
<p> </p>
<a name='cs2'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/console/polled_io.c, shared/flash/spansionFlash.c,
shared/startup/bspidle.c, shared/startup/probeMemEnd.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/ChangeLog.diff?r1=text&tr1=1.245&r2=text&tr2=1.246&diff_format=h">M</a></td><td width='1%'>1.246</td><td width='100%'>c/src/lib/libbsp/powerpc/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/shared/console/polled_io.c.diff?r1=text&tr1=1.17&r2=text&tr2=1.18&diff_format=h">M</a></td><td width='1%'>1.18</td><td width='100%'>c/src/lib/libbsp/powerpc/shared/console/polled_io.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/shared/flash/spansionFlash.c.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>c/src/lib/libbsp/powerpc/shared/flash/spansionFlash.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/shared/startup/bspidle.c.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>c/src/lib/libbsp/powerpc/shared/startup/bspidle.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/shared/startup/probeMemEnd.c.diff?r1=text&tr1=1.6&r2=text&tr2=1.7&diff_format=h">M</a></td><td width='1%'>1.7</td><td width='100%'>c/src/lib/libbsp/powerpc/shared/startup/probeMemEnd.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/ChangeLog:1.245 rtems/c/src/lib/libbsp/powerpc/ChangeLog:1.246
--- rtems/c/src/lib/libbsp/powerpc/ChangeLog:1.245 Wed Feb 2 08:59:53 2011
+++ rtems/c/src/lib/libbsp/powerpc/ChangeLog Fri Feb 11 06:19:29 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * shared/console/polled_io.c, shared/flash/spansionFlash.c,
+ shared/startup/bspidle.c, shared/startup/probeMemEnd.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/shared/console/polled_io.c:1.17 rtems/c/src/lib/libbsp/powerpc/shared/console/polled_io.c:1.18
--- rtems/c/src/lib/libbsp/powerpc/shared/console/polled_io.c:1.17 Fri Jan 28 14:29:52 2011
+++ rtems/c/src/lib/libbsp/powerpc/shared/console/polled_io.c Fri Feb 11 06:19:29 2011
</font><font color='#997700'>@@ -909,7 +909,7 @@
</font> /* Necessary to avoid including a library, and GCC won't do this inline. */
#define div10(num, rmd) \
do { uint32_t t1, t2, t3; \
<font color='#880000'>- asm("lis %4,0xcccd; " \
</font><font color='#000088'>+ __asm__ ("lis %4,0xcccd; " \
</font> "addi %4,%4,0xffffcccd; " /* Build 0xcccccccd */ \
"mulhwu %3,%0+1,%4; " /* (num.l*cst.l).h */ \
"mullw %2,%0,%4; " /* (num.h*cst.l).l */ \
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/shared/flash/spansionFlash.c:1.4 rtems/c/src/lib/libbsp/powerpc/shared/flash/spansionFlash.c:1.5
--- rtems/c/src/lib/libbsp/powerpc/shared/flash/spansionFlash.c:1.4 Sun Nov 29 22:29:20 2009
+++ rtems/c/src/lib/libbsp/powerpc/shared/flash/spansionFlash.c Fri Feb 11 06:19:29 2011
</font><font color='#997700'>@@ -77,7 +77,7 @@
</font> /* Assume flash-endianness == CPU endianness */
#ifdef __PPC__
<font color='#880000'>-#define IOSYNC(mem) do { asm volatile("eieio"); } while (0)
</font><font color='#000088'>+#define IOSYNC(mem) do { __asm__ volatile("eieio"); } while (0)
</font> #else
#define IOSYNC(mem) do { } while (0)
#endif
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/shared/startup/bspidle.c:1.1 rtems/c/src/lib/libbsp/powerpc/shared/startup/bspidle.c:1.2
--- rtems/c/src/lib/libbsp/powerpc/shared/startup/bspidle.c:1.1 Wed Sep 9 20:19:31 2009
+++ rtems/c/src/lib/libbsp/powerpc/shared/startup/bspidle.c Fri Feb 11 06:19:29 2011
</font><font color='#997700'>@@ -27,7 +27,7 @@
</font> void *bsp_idle_thread( uintptr_t ignored )
{
for( ; ; ) {
<font color='#880000'>- asm volatile(
</font><font color='#000088'>+ __asm__ volatile(
</font> "mfmsr 3; oris 3,3,4; sync; mtmsr 3; isync; ori 3,3,0; ori 3,3,0"
);
}
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/shared/startup/probeMemEnd.c:1.6 rtems/c/src/lib/libbsp/powerpc/shared/startup/probeMemEnd.c:1.7
--- rtems/c/src/lib/libbsp/powerpc/shared/startup/probeMemEnd.c:1.6 Tue Dec 1 18:30:45 2009
+++ rtems/c/src/lib/libbsp/powerpc/shared/startup/probeMemEnd.c Fri Feb 11 06:19:29 2011
</font><font color='#997700'>@@ -123,7 +123,7 @@
</font> register uint32_t v, x;
if ( _read_MSR() & MSR_VE ) {
#define DSSALL 0x7e00066c /* dssall opcode */
<font color='#880000'>- asm volatile(" .long %0"::"i"(DSSALL));
</font><font color='#000088'>+ __asm__ volatile(" .long %0"::"i"(DSSALL));
</font> #undef DSSALL
}
asm volatile("sync");
</pre>
<p> </p>
<a name='cs3'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/gdbstub/m68k-stub.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/ChangeLog.diff?r1=text&tr1=1.56&r2=text&tr2=1.57&diff_format=h">M</a></td><td width='1%'>1.57</td><td width='100%'>c/src/lib/libbsp/m68k/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/shared/gdbstub/m68k-stub.c.diff?r1=text&tr1=1.10&r2=text&tr2=1.11&diff_format=h">M</a></td><td width='1%'>1.11</td><td width='100%'>c/src/lib/libbsp/m68k/shared/gdbstub/m68k-stub.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/ChangeLog:1.56 rtems/c/src/lib/libbsp/m68k/ChangeLog:1.57
--- rtems/c/src/lib/libbsp/m68k/ChangeLog:1.56 Wed Feb 2 08:58:34 2011
+++ rtems/c/src/lib/libbsp/m68k/ChangeLog Fri Feb 11 06:20:34 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * shared/gdbstub/m68k-stub.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/shared/gdbstub/m68k-stub.c:1.10 rtems/c/src/lib/libbsp/m68k/shared/gdbstub/m68k-stub.c:1.11
--- rtems/c/src/lib/libbsp/m68k/shared/gdbstub/m68k-stub.c:1.10 Sun Nov 29 08:59:41 2009
+++ rtems/c/src/lib/libbsp/m68k/shared/gdbstub/m68k-stub.c Fri Feb 11 06:20:34 2011
</font><font color='#997700'>@@ -211,11 +211,11 @@
</font>
#ifdef __HAVE_68881__
/* do an fsave, then remember the address to begin a restore from */
<font color='#880000'>-#define SAVE_FP_REGS() asm(" fsave -(%a0)"); \
- asm(" fmovem.x %fp0-%fp7,registers+72"); \
- asm(" fmovem.l %fpcr/%fpsr/%fpi,registers+168");
</font><font color='#000088'>+#define SAVE_FP_REGS() __asm__ (" fsave -(%a0)"); \
+ __asm__ (" fmovem.x %fp0-%fp7,registers+72"); \
+ __asm__ (" fmovem.l %fpcr/%fpsr/%fpi,registers+168");
</font> #define RESTORE_FP_REGS() \
<font color='#880000'>-asm(" \n\
</font><font color='#000088'>+__asm__ (" \n\
</font> fmovem.l registers+168,%fpcr/%fpsr/%fpi \n\
fmovem.x registers+72,%fp0-%fp7 \n\
cmp.l #-1,(%a0) | skip frestore flag set ? \n\
<font color='#997700'>@@ -244,7 +244,7 @@
</font> /*
* get vector base register
*/
<font color='#880000'>- asm(" movec.l %%vbr,%0":"=a" (vec_base));
</font><font color='#000088'>+ __asm__ (" movec.l %%vbr,%0":"=a" (vec_base));
</font> #endif
vec_base[vecnum] = vector;
}
<font color='#997700'>@@ -257,7 +257,7 @@
</font> * that the C compiler manages sections properly
*/
{
<font color='#880000'>-asm("\n\
</font><font color='#000088'>+__asm__ ("\n\
</font> .globl return_to_super<span style="background-color: #FF0000"> </span> \n\
return_to_super: \n\
move.l registers+60,%sp /* get new stack pointer */<span style="background-color: #FF0000"> </span> \n\
<font color='#997700'>@@ -286,27 +286,27 @@
</font> dbf %d0,copyUserLoop \n\
");
RESTORE_FP_REGS()
<font color='#880000'>- asm(" movem.l registers,%d0-%d7/%a0-%a6");
- asm(" rte"); /* pop and go! */
</font><font color='#000088'>+ __asm__ (" movem.l registers,%d0-%d7/%a0-%a6");
+ __asm__ (" rte"); /* pop and go! */
</font>
<font color='#880000'>-#define DISABLE_INTERRUPTS() asm(" oriw #0x0700,%sr");
-#define BREAKPOINT() asm(" trap #2");
</font><font color='#000088'>+#define DISABLE_INTERRUPTS() __asm__ (" oriw #0x0700,%sr");
+#define BREAKPOINT() __asm__ (" trap #2");
</font>
/* this function is called immediately when a level 7 interrupt occurs */
/* if the previous interrupt level was 7 then we're already servicing */
/* this interrupt and an rte is in order to return to the debugger. */
/* For the 68000, the offset for sr is 6 due to the jsr return address */
<font color='#880000'>-asm(" \n\
</font><font color='#000088'>+__asm__ (" \n\
</font> .text \n\
.globl _debug_level7 \n\
_debug_level7: \n\
move.w %d0,-(%sp)");
#if M68K_HAS_VBR
<font color='#880000'>-asm(" move.w 2(%sp),%d0");
</font><font color='#000088'>+__asm__ (" move.w 2(%sp),%d0");
</font> #else
<font color='#880000'>-asm(" move.w 6(%sp),%d0");
</font><font color='#000088'>+__asm__ (" move.w 6(%sp),%d0");
</font> #endif
<font color='#880000'>-asm(" andi.w #0x700,%d0 \n\
</font><font color='#000088'>+__asm__ (" andi.w #0x700,%d0 \n\
</font> cmpi.w #0x700,%d0 \n\
beq already7 \n\
move.w (%sp)+,%d0 \n\
<font color='#997700'>@@ -314,9 +314,9 @@
</font> already7: \n\
move.w (%sp)+,%d0");
#if !M68K_HAS_VBR
<font color='#880000'>-asm(" lea 4(%sp),%sp"); /* pull off 68000 return address */
</font><font color='#000088'>+__asm__ (" lea 4(%sp),%sp"); /* pull off 68000 return address */
</font> #endif
<font color='#880000'>-asm(" rte");
</font><font color='#000088'>+__asm__ (" rte");
</font>
#if M68K_HAS_VBR
/* This function is called when a 68020 exception occurs. It saves
<font color='#997700'>@@ -334,17 +334,17 @@
</font> *
*
*/
<font color='#880000'>-asm("<span style="background-color: #FF0000"> </span> \n\
</font><font color='#000088'>+__asm__ ("<span style="background-color: #FF0000"> </span> \n\
</font> .text \n\
.globl _catchException \n\
_catchException:");
DISABLE_INTERRUPTS();
<font color='#880000'>-asm(" \n\
</font><font color='#000088'>+__asm__ (" \n\
</font> movem.l %d0-%d7/%a0-%a6,registers /* save registers */ \n\
move.l lastFrame,%a0 /* last frame pointer */ \n\
");
SAVE_FP_REGS();
<font color='#880000'>-asm("\n\
</font><font color='#000088'>+__asm__ ("\n\
</font> lea registers,%a5 /* get address of registers */\n\
move.w (%sp),%d1 /* get status register */\n\
move.w %d1,66(%a5) /* save sr <span style="background-color: #FF0000"> </span> */ \n\
<font color='#997700'>@@ -426,17 +426,17 @@
</font> * Return Address MSWord
* Return Address LSWord
*/
<font color='#880000'>-asm("\n\
</font><font color='#000088'>+__asm__ ("\n\
</font> .text\n\
.globl _catchException\n\
_catchException:");
DISABLE_INTERRUPTS();
<font color='#880000'>-asm("\
</font><font color='#000088'>+__asm__ ("\
</font> moveml %d0-%d7/%a0-%a6,registers /* save registers */ \n\
movel lastFrame,%a0 /* last frame pointer */ \n\
");
SAVE_FP_REGS();
<font color='#880000'>-asm(" \n\
</font><font color='#000088'>+__asm__ (" \n\
</font> lea registers,%a5 /* get address of registers */ \n\
movel (%sp)+,%d2 /* pop return address */ \n\
addl<span style="background-color: #FF0000"> </span> #1530,%d2 /* convert return addr to */ \n\
<font color='#997700'>@@ -493,13 +493,13 @@
</font> * stack pointer into an area reserved for debugger use in case the
* breakpoint happened in supervisor mode.
*/
<font color='#880000'>-asm("remcomHandler:");
-asm(" add.l #4,%sp"); /* pop off return address */
-asm(" move.l (%sp)+,%d0"); /* get the exception number */
-asm(" move.l stackPtr,%sp"); /* move to remcom stack area */
-asm(" move.l %d0,-(%sp)"); /* push exception onto stack */
-asm(" jbsr handle_exception"); /* this never returns */
-asm(" rts"); /* return */
</font><font color='#000088'>+__asm__ ("remcomHandler:");
+__asm__ (" add.l #4,%sp"); /* pop off return address */
+__asm__ (" move.l (%sp)+,%d0"); /* get the exception number */
+__asm__ (" move.l stackPtr,%sp"); /* move to remcom stack area */
+__asm__ (" move.l %d0,-(%sp)"); /* push exception onto stack */
+__asm__ (" jbsr handle_exception"); /* this never returns */
+__asm__ (" rts"); /* return */
</font> } /* end of stub_dummy_asm_wrapper function */
void _returnFromException( Frame *frame )
</pre>
<p> </p>
<a name='cs4'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/1553/b1553brm.c, shared/can/grcan.c, shared/can/occan.c,
shared/spw/grspw.c, shared/uart/apbuart.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/sparc/ChangeLog.diff?r1=text&tr1=1.82&r2=text&tr2=1.83&diff_format=h">M</a></td><td width='1%'>1.83</td><td width='100%'>c/src/lib/libbsp/sparc/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/sparc/shared/1553/b1553brm.c.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>c/src/lib/libbsp/sparc/shared/1553/b1553brm.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/sparc/shared/can/grcan.c.diff?r1=text&tr1=1.6&r2=text&tr2=1.7&diff_format=h">M</a></td><td width='1%'>1.7</td><td width='100%'>c/src/lib/libbsp/sparc/shared/can/grcan.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/sparc/shared/can/occan.c.diff?r1=text&tr1=1.7&r2=text&tr2=1.8&diff_format=h">M</a></td><td width='1%'>1.8</td><td width='100%'>c/src/lib/libbsp/sparc/shared/can/occan.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/sparc/shared/spw/grspw.c.diff?r1=text&tr1=1.6&r2=text&tr2=1.7&diff_format=h">M</a></td><td width='1%'>1.7</td><td width='100%'>c/src/lib/libbsp/sparc/shared/spw/grspw.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/sparc/shared/uart/apbuart.c.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>c/src/lib/libbsp/sparc/shared/uart/apbuart.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/sparc/ChangeLog:1.82 rtems/c/src/lib/libbsp/sparc/ChangeLog:1.83
--- rtems/c/src/lib/libbsp/sparc/ChangeLog:1.82 Wed Feb 2 09:00:35 2011
+++ rtems/c/src/lib/libbsp/sparc/ChangeLog Fri Feb 11 06:22:07 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * shared/1553/b1553brm.c, shared/can/grcan.c, shared/can/occan.c,
+ shared/spw/grspw.c, shared/uart/apbuart.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/sparc/shared/1553/b1553brm.c:1.4 rtems/c/src/lib/libbsp/sparc/shared/1553/b1553brm.c:1.5
--- rtems/c/src/lib/libbsp/sparc/shared/1553/b1553brm.c:1.4 Sun Nov 29 09:33:27 2009
+++ rtems/c/src/lib/libbsp/sparc/shared/1553/b1553brm.c Fri Feb 11 06:22:07 2011
</font><font color='#997700'>@@ -89,7 +89,7 @@
</font> #define READ_DMA(address) _BRM_REG_READ16((unsigned int)address)
static __inline__ unsigned short _BRM_REG_READ16(unsigned int addr) {
unsigned short tmp;
<font color='#880000'>- asm(" lduha [%1]1, %0 "
</font><font color='#000088'>+ __asm__ (" lduha [%1]1, %0 "
</font> : "=r"(tmp)
: "r"(addr)
);
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/sparc/shared/can/grcan.c:1.6 rtems/c/src/lib/libbsp/sparc/shared/can/grcan.c:1.7
--- rtems/c/src/lib/libbsp/sparc/shared/can/grcan.c:1.6 Sun Nov 29 09:33:27 2009
+++ rtems/c/src/lib/libbsp/sparc/shared/can/grcan.c Fri Feb 11 06:22:07 2011
</font><font color='#997700'>@@ -267,7 +267,7 @@
</font> static unsigned char __inline__ _grcan_read_nocache_byte(unsigned int address)
{
unsigned char tmp;
<font color='#880000'>- asm(" lduba [%1]1, %0 "
</font><font color='#000088'>+ __asm__ (" lduba [%1]1, %0 "
</font> : "=r"(tmp)
: "r"(address)
);
<font color='#997700'>@@ -282,7 +282,7 @@
</font> static unsigned int __inline__ _grcan_read_nocache(unsigned int address)
{
unsigned int tmp;
<font color='#880000'>- asm(" lda [%1]1, %0 "
</font><font color='#000088'>+ __asm__ (" lda [%1]1, %0 "
</font> : "=r"(tmp)
: "r"(address)
);
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/sparc/shared/can/occan.c:1.7 rtems/c/src/lib/libbsp/sparc/shared/can/occan.c:1.8
--- rtems/c/src/lib/libbsp/sparc/shared/can/occan.c:1.7 Sun Nov 29 09:33:27 2009
+++ rtems/c/src/lib/libbsp/sparc/shared/can/occan.c Fri Feb 11 06:22:07 2011
</font><font color='#997700'>@@ -295,7 +295,7 @@
</font> #define READ_REG(address) _OCCAN_REG_READ((unsigned int)(address))
static __inline__ unsigned char _OCCAN_REG_READ(unsigned int addr) {
unsigned char tmp;
<font color='#880000'>- asm(" lduba [%1]1, %0 "
</font><font color='#000088'>+ __asm__ (" lduba [%1]1, %0 "
</font> : "=r"(tmp)
: "r"(addr)
);
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/sparc/shared/spw/grspw.c:1.6 rtems/c/src/lib/libbsp/sparc/shared/spw/grspw.c:1.7
--- rtems/c/src/lib/libbsp/sparc/shared/spw/grspw.c:1.6 Sun Nov 29 09:33:28 2009
+++ rtems/c/src/lib/libbsp/sparc/shared/spw/grspw.c Fri Feb 11 06:22:07 2011
</font><font color='#997700'>@@ -206,7 +206,7 @@
</font> #else
static unsigned int _SPW_READ(void *addr) {
unsigned int tmp;
<font color='#880000'>- asm(" lda [%1]1, %0 "
</font><font color='#000088'>+ __asm__ (" lda [%1]1, %0 "
</font> : "=r"(tmp)
: "r"(addr)
);
<font color='#997700'>@@ -215,7 +215,7 @@
</font>
static unsigned int _MEM_READ(void *addr) {
unsigned int tmp;
<font color='#880000'>- asm(" lduba [%1]1, %0 "
</font><font color='#000088'>+ __asm__ (" lduba [%1]1, %0 "
</font> : "=r"(tmp)
: "r"(addr)
);
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/sparc/shared/uart/apbuart.c:1.4 rtems/c/src/lib/libbsp/sparc/shared/uart/apbuart.c:1.5
--- rtems/c/src/lib/libbsp/sparc/shared/uart/apbuart.c:1.4 Sun Nov 29 09:33:28 2009
+++ rtems/c/src/lib/libbsp/sparc/shared/uart/apbuart.c Fri Feb 11 06:22:07 2011
</font><font color='#997700'>@@ -144,7 +144,7 @@
</font> #define READ_REG(address) _APBUART_READ_REG((unsigned int)(address))
static __inline__ unsigned int _APBUART_READ_REG(unsigned int addr) {
unsigned int tmp;
<font color='#880000'>- asm(" lda [%1]1, %0 "
</font><font color='#000088'>+ __asm__ (" lda [%1]1, %0 "
</font> : "=r"(tmp)
: "r"(addr)
);
</pre>
<p> </p>
<a name='cs5'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/bspstart.c, startup/init5282.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/av5282/ChangeLog.diff?r1=text&tr1=1.57&r2=text&tr2=1.58&diff_format=h">M</a></td><td width='1%'>1.58</td><td width='100%'>c/src/lib/libbsp/m68k/av5282/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/av5282/startup/bspstart.c.diff?r1=text&tr1=1.14&r2=text&tr2=1.15&diff_format=h">M</a></td><td width='1%'>1.15</td><td width='100%'>c/src/lib/libbsp/m68k/av5282/startup/bspstart.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/av5282/startup/init5282.c.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>c/src/lib/libbsp/m68k/av5282/startup/init5282.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/av5282/ChangeLog:1.57 rtems/c/src/lib/libbsp/m68k/av5282/ChangeLog:1.58
--- rtems/c/src/lib/libbsp/m68k/av5282/ChangeLog:1.57 Wed Feb 9 02:34:31 2011
+++ rtems/c/src/lib/libbsp/m68k/av5282/ChangeLog Fri Feb 11 06:30:00 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * startup/bspstart.c, startup/init5282.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/av5282/startup/bspstart.c:1.14 rtems/c/src/lib/libbsp/m68k/av5282/startup/bspstart.c:1.15
--- rtems/c/src/lib/libbsp/m68k/av5282/startup/bspstart.c:1.14 Tue Apr 27 12:33:53 2010
+++ rtems/c/src/lib/libbsp/m68k/av5282/startup/bspstart.c Fri Feb 11 06:30:00 2011
</font><font color='#997700'>@@ -35,8 +35,8 @@
</font> /*
* CPU-space access
*/
<font color='#880000'>-#define m68k_set_acr0(_acr0) asm volatile ("movec %0,%%acr0" : : "d" (_acr0))
-#define m68k_set_acr1(_acr1) asm volatile ("movec %0,%%acr1" : : "d" (_acr1))
</font><font color='#000088'>+#define m68k_set_acr0(_acr0) __asm__ volatile ("movec %0,%%acr0" : : "d" (_acr0))
+#define m68k_set_acr1(_acr1) __asm__ volatile ("movec %0,%%acr1" : : "d" (_acr1))
</font>
/*
* Read/write copy of common cache
<font color='#997700'>@@ -94,7 +94,7 @@
</font> * Top half of cache is I-space
*/
addr = (void *)((int)addr | 0x400);
<font color='#880000'>- asm volatile ("cpushl %%bc,(%0)" :: "a" (addr));
</font><font color='#000088'>+ __asm__ volatile ("cpushl %%bc,(%0)" :: "a" (addr));
</font> }
void _CPU_cache_enable_data(void)
<font color='#997700'>@@ -129,7 +129,7 @@
</font> * Bottom half of cache is D-space
*/
addr = (void *)((int)addr & ~0x400);
<font color='#880000'>- asm volatile ("cpushl %%bc,(%0)" :: "a" (addr));
</font><font color='#000088'>+ __asm__ volatile ("cpushl %%bc,(%0)" :: "a" (addr));
</font> }
/*
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/av5282/startup/init5282.c:1.5 rtems/c/src/lib/libbsp/m68k/av5282/startup/init5282.c:1.6
--- rtems/c/src/lib/libbsp/m68k/av5282/startup/init5282.c:1.5 Sun Nov 29 08:59:40 2009
+++ rtems/c/src/lib/libbsp/m68k/av5282/startup/init5282.c Fri Feb 11 06:30:00 2011
</font><font color='#997700'>@@ -9,9 +9,9 @@
</font>
#include <rtems.h>
#include <bsp.h>
<font color='#880000'>-#define m68k_set_cacr(_cacr) asm volatile ("movec %0,%%cacr" : : "d" (_cacr))
-#define m68k_set_acr0(_acr0) asm volatile ("movec %0,%%acr0" : : "d" (_acr0))
-#define m68k_set_acr1(_acr1) asm volatile ("movec %0,%%acr1" : : "d" (_acr1))
</font><font color='#000088'>+#define m68k_set_cacr(_cacr) __asm__ volatile ("movec %0,%%cacr" : : "d" (_cacr))
+#define m68k_set_acr0(_acr0) __asm__ volatile ("movec %0,%%acr0" : : "d" (_acr0))
+#define m68k_set_acr1(_acr1) __asm__ volatile ("movec %0,%%acr1" : : "d" (_acr1))
</font> #define MM_SDRAM_BASE (0x00000000)
/*
</pre>
<p> </p>
<a name='cs6'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/bsp.h, startup/init5272.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/csb360/ChangeLog.diff?r1=text&tr1=1.50&r2=text&tr2=1.51&diff_format=h">M</a></td><td width='1%'>1.51</td><td width='100%'>c/src/lib/libbsp/m68k/csb360/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/csb360/include/bsp.h.diff?r1=text&tr1=1.12&r2=text&tr2=1.13&diff_format=h">M</a></td><td width='1%'>1.13</td><td width='100%'>c/src/lib/libbsp/m68k/csb360/include/bsp.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/csb360/startup/init5272.c.diff?r1=text&tr1=1.8&r2=text&tr2=1.9&diff_format=h">M</a></td><td width='1%'>1.9</td><td width='100%'>c/src/lib/libbsp/m68k/csb360/startup/init5272.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/csb360/ChangeLog:1.50 rtems/c/src/lib/libbsp/m68k/csb360/ChangeLog:1.51
--- rtems/c/src/lib/libbsp/m68k/csb360/ChangeLog:1.50 Wed Feb 2 08:58:38 2011
+++ rtems/c/src/lib/libbsp/m68k/csb360/ChangeLog Fri Feb 11 06:30:02 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * include/bsp.h, startup/init5272.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/csb360/include/bsp.h:1.12 rtems/c/src/lib/libbsp/m68k/csb360/include/bsp.h:1.13
--- rtems/c/src/lib/libbsp/m68k/csb360/include/bsp.h:1.12 Fri Aug 21 12:58:58 2009
+++ rtems/c/src/lib/libbsp/m68k/csb360/include/bsp.h Fri Feb 11 06:30:03 2011
</font><font color='#997700'>@@ -129,7 +129,7 @@
</font> #define delay( microseconds ) \
{ register uint32_t _delay=(microseconds); \
register uint32_t _tmp=123; \
<font color='#880000'>- asm volatile( "0: \
</font><font color='#000088'>+ __asm__ volatile( "0: \
</font> nbcd %0 ; \
nbcd %0 ; \
dbf %1,0b" \
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/csb360/startup/init5272.c:1.8 rtems/c/src/lib/libbsp/m68k/csb360/startup/init5272.c:1.9
--- rtems/c/src/lib/libbsp/m68k/csb360/startup/init5272.c:1.8 Tue Apr 27 16:54:57 2010
+++ rtems/c/src/lib/libbsp/m68k/csb360/startup/init5272.c Fri Feb 11 06:30:03 2011
</font><font color='#997700'>@@ -53,12 +53,12 @@
</font> usb_regs_t *g_usb_regs = (void *) MCF5272_USB_BASE(BSP_MBAR);
#define m68k_set_srambar( _rambar0 ) \
<font color='#880000'>- asm volatile ( "movec %0,%%rambar0\n\t" \
</font><font color='#000088'>+ __asm__ volatile ( "movec %0,%%rambar0\n\t" \
</font> "nop\n\t" \
: : "d" (_rambar0) )
#define m68k_set_mbar( _mbar ) \
<font color='#880000'>- asm volatile ( "movec %0,%%mbar\n\t" \
</font><font color='#000088'>+ __asm__ volatile ( "movec %0,%%mbar\n\t" \
</font> "nop\n\t" \
: : "d" (_mbar) )
<font color='#997700'>@@ -67,7 +67,7 @@
</font>
#define mcf5272_disable_cache() \
<font color='#880000'>- asm volatile ( "nop\n\t" \
</font><font color='#000088'>+ __asm__ volatile ( "nop\n\t" \
</font> "movec %0,%%cacr\n\t" \
"nop\n\t" \
"movec %0,%%cacr\n\t" \
</pre>
<p> </p>
<a name='cs7'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/mc68ec.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/idp/ChangeLog.diff?r1=text&tr1=1.121&r2=text&tr2=1.122&diff_format=h">M</a></td><td width='1%'>1.122</td><td width='100%'>c/src/lib/libbsp/m68k/idp/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/idp/console/mc68ec.c.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>c/src/lib/libbsp/m68k/idp/console/mc68ec.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/idp/ChangeLog:1.121 rtems/c/src/lib/libbsp/m68k/idp/ChangeLog:1.122
--- rtems/c/src/lib/libbsp/m68k/idp/ChangeLog:1.121 Wed Feb 9 06:05:50 2011
+++ rtems/c/src/lib/libbsp/m68k/idp/ChangeLog Fri Feb 11 06:30:13 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * console/mc68ec.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/idp/console/mc68ec.c:1.5 rtems/c/src/lib/libbsp/m68k/idp/console/mc68ec.c:1.6
--- rtems/c/src/lib/libbsp/m68k/idp/console/mc68ec.c:1.5 Tue Aug 19 05:24:42 2008
+++ rtems/c/src/lib/libbsp/m68k/idp/console/mc68ec.c Fri Feb 11 06:30:14 2011
</font><font color='#997700'>@@ -15,6 +15,6 @@
</font> {
while (num--)
{
<font color='#880000'>- asm ("nop");
</font><font color='#000088'>+ __asm__ ("nop");
</font> }
}
</pre>
<p> </p>
<a name='cs8'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/bsp.h startup/init5206e.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mcf5206elite/ChangeLog.diff?r1=text&tr1=1.112&r2=text&tr2=1.113&diff_format=h">M</a></td><td width='1%'>1.113</td><td width='100%'>c/src/lib/libbsp/m68k/mcf5206elite/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h.diff?r1=text&tr1=1.17&r2=text&tr2=1.18&diff_format=h">M</a></td><td width='1%'>1.18</td><td width='100%'>c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mcf5206elite/startup/init5206e.c.diff?r1=text&tr1=1.9&r2=text&tr2=1.10&diff_format=h">M</a></td><td width='1%'>1.10</td><td width='100%'>c/src/lib/libbsp/m68k/mcf5206elite/startup/init5206e.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mcf5206elite/ChangeLog:1.112 rtems/c/src/lib/libbsp/m68k/mcf5206elite/ChangeLog:1.113
--- rtems/c/src/lib/libbsp/m68k/mcf5206elite/ChangeLog:1.112 Wed Feb 2 08:58:56 2011
+++ rtems/c/src/lib/libbsp/m68k/mcf5206elite/ChangeLog Fri Feb 11 06:30:16 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * include/bsp.h startup/init5206e.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h:1.17 rtems/c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h:1.18
--- rtems/c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h:1.17 Fri Aug 21 12:59:01 2009
+++ rtems/c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h Fri Feb 11 06:30:16 2011
</font><font color='#997700'>@@ -153,7 +153,7 @@
</font> #define delay( microseconds ) \
{ register uint32_t _delay=(microseconds); \
register uint32_t _tmp=123; \
<font color='#880000'>- asm volatile( "0: \
</font><font color='#000088'>+ __asm__ volatile( "0: \
</font> nbcd %0 ; \
nbcd %0 ; \
dbf %1,0b" \
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mcf5206elite/startup/init5206e.c:1.9 rtems/c/src/lib/libbsp/m68k/mcf5206elite/startup/init5206e.c:1.10
--- rtems/c/src/lib/libbsp/m68k/mcf5206elite/startup/init5206e.c:1.9 Tue Apr 27 17:01:18 2010
+++ rtems/c/src/lib/libbsp/m68k/mcf5206elite/startup/init5206e.c Fri Feb 11 06:30:16 2011
</font><font color='#997700'>@@ -36,12 +36,12 @@
</font> extern void INTERRUPT_VECTOR(void);
#define m68k_set_srambar( _rambar0 ) \
<font color='#880000'>- asm volatile ( "movec %0,%%rambar0\n\t" \
</font><font color='#000088'>+ __asm__ volatile ( "movec %0,%%rambar0\n\t" \
</font> "nop\n\t" \
: : "d" (_rambar0) )
#define m68k_set_mbar( _mbar ) \
<font color='#880000'>- asm volatile ( "movec %0,%%mbar\n\t" \
</font><font color='#000088'>+ __asm__ volatile ( "movec %0,%%mbar\n\t" \
</font> "nop\n\t" \
: : "d" (_mbar) )
<font color='#997700'>@@ -49,7 +49,7 @@
</font> m68k_set_cacr( MCF5206E_CACR_CENB )
#define mcf5206e_disable_cache() \
<font color='#880000'>- asm volatile ( "nop\n\t" \
</font><font color='#000088'>+ __asm__ volatile ( "nop\n\t" \
</font> "movec %0,%%cacr\n\t" \
"nop\n\t" \
"movec %0,%%cacr\n\t" \
</pre>
<p> </p>
<a name='cs9'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/init5235.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mcf5235/ChangeLog.diff?r1=text&tr1=1.63&r2=text&tr2=1.64&diff_format=h">M</a></td><td width='1%'>1.64</td><td width='100%'>c/src/lib/libbsp/m68k/mcf5235/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mcf5235/startup/init5235.c.diff?r1=text&tr1=1.7&r2=text&tr2=1.8&diff_format=h">M</a></td><td width='1%'>1.8</td><td width='100%'>c/src/lib/libbsp/m68k/mcf5235/startup/init5235.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mcf5235/ChangeLog:1.63 rtems/c/src/lib/libbsp/m68k/mcf5235/ChangeLog:1.64
--- rtems/c/src/lib/libbsp/m68k/mcf5235/ChangeLog:1.63 Wed Feb 9 06:08:17 2011
+++ rtems/c/src/lib/libbsp/m68k/mcf5235/ChangeLog Fri Feb 11 06:32:21 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * startup/init5235.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mcf5235/startup/init5235.c:1.7 rtems/c/src/lib/libbsp/m68k/mcf5235/startup/init5235.c:1.8
--- rtems/c/src/lib/libbsp/m68k/mcf5235/startup/init5235.c:1.7 Wed Apr 28 14:43:25 2010
+++ rtems/c/src/lib/libbsp/m68k/mcf5235/startup/init5235.c Fri Feb 11 06:32:21 2011
</font><font color='#997700'>@@ -9,9 +9,9 @@
</font>
#include <rtems.h>
#include <bsp.h>
<font color='#880000'>-#define m68k_set_cacr(_cacr) asm volatile ("movec %0,%%cacr" : : "d" (_cacr))
-#define m68k_set_acr0(_acr0) asm volatile ("movec %0,%%acr0" : : "d" (_acr0))
-#define m68k_set_acr1(_acr1) asm volatile ("movec %0,%%acr1" : : "d" (_acr1))
</font><font color='#000088'>+#define m68k_set_cacr(_cacr) __asm__ volatile ("movec %0,%%cacr" : : "d" (_cacr))
+#define m68k_set_acr0(_acr0) __asm__ volatile ("movec %0,%%acr0" : : "d" (_acr0))
+#define m68k_set_acr1(_acr1) __asm__ volatile ("movec %0,%%acr1" : : "d" (_acr1))
</font> #define MM_SDRAM_BASE (0x00000000)
/*
</pre>
<p> </p>
<a name='cs10'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/bsp.h, include/mrm332.h, spurious/spinit.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mrm332/ChangeLog.diff?r1=text&tr1=1.128&r2=text&tr2=1.129&diff_format=h">M</a></td><td width='1%'>1.129</td><td width='100%'>c/src/lib/libbsp/m68k/mrm332/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mrm332/include/bsp.h.diff?r1=text&tr1=1.21&r2=text&tr2=1.22&diff_format=h">M</a></td><td width='1%'>1.22</td><td width='100%'>c/src/lib/libbsp/m68k/mrm332/include/bsp.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mrm332/include/mrm332.h.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>c/src/lib/libbsp/m68k/mrm332/include/mrm332.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mrm332/spurious/spinit.c.diff?r1=text&tr1=1.7&r2=text&tr2=1.8&diff_format=h">M</a></td><td width='1%'>1.8</td><td width='100%'>c/src/lib/libbsp/m68k/mrm332/spurious/spinit.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mrm332/ChangeLog:1.128 rtems/c/src/lib/libbsp/m68k/mrm332/ChangeLog:1.129
--- rtems/c/src/lib/libbsp/m68k/mrm332/ChangeLog:1.128 Wed Feb 9 06:10:03 2011
+++ rtems/c/src/lib/libbsp/m68k/mrm332/ChangeLog Fri Feb 11 06:32:23 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * include/bsp.h, include/mrm332.h, spurious/spinit.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mrm332/include/bsp.h:1.21 rtems/c/src/lib/libbsp/m68k/mrm332/include/bsp.h:1.22
--- rtems/c/src/lib/libbsp/m68k/mrm332/include/bsp.h:1.21 Fri Aug 21 12:59:03 2009
+++ rtems/c/src/lib/libbsp/m68k/mrm332/include/bsp.h Fri Feb 11 06:32:23 2011
</font><font color='#997700'>@@ -42,7 +42,7 @@
</font> #define rtems_bsp_delay( microseconds ) \
{ register uint32_t _delay=(microseconds); \
register uint32_t _tmp=123; \
<font color='#880000'>- asm volatile( "0: \
</font><font color='#000088'>+ __asm__ volatile( "0: \
</font> nbcd %0 ; \
nbcd %0 ; \
dbf %1,0b" \
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mrm332/include/mrm332.h:1.5 rtems/c/src/lib/libbsp/m68k/mrm332/include/mrm332.h:1.6
--- rtems/c/src/lib/libbsp/m68k/mrm332/include/mrm332.h:1.5 Wed Apr 21 11:01:35 2004
+++ rtems/c/src/lib/libbsp/m68k/mrm332/include/mrm332.h Fri Feb 11 06:32:23 2011
</font><font color='#997700'>@@ -63,7 +63,7 @@
</font> */
/* static void reboot(void) __attribute__ ((noreturn)); */
static void reboot(void);
<font color='#880000'>-__inline__ static void reboot() {asm("trap #15; .word 0x0063");}
</font><font color='#000088'>+__inline__ static void reboot() {__asm__ ("trap #15; .word 0x0063");}
</font>
#endif /* ASM */
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mrm332/spurious/spinit.c:1.7 rtems/c/src/lib/libbsp/m68k/mrm332/spurious/spinit.c:1.8
--- rtems/c/src/lib/libbsp/m68k/mrm332/spurious/spinit.c:1.7 Fri Aug 13 15:49:09 2010
+++ rtems/c/src/lib/libbsp/m68k/mrm332/spurious/spinit.c Fri Feb 11 06:32:23 2011
</font><font color='#997700'>@@ -77,7 +77,7 @@
</font> bsp_cleanup();
/* BDM SIGEMT */
<font color='#880000'>- asm(" .word 0x4afa");
</font><font color='#000088'>+ __asm__ (" .word 0x4afa");
</font>
for(;;);
}
</pre>
<p> </p>
<a name='cs11'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* clock/clock.c, startup/bspstart.c, startup/init5282.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/uC5282/ChangeLog.diff?r1=text&tr1=1.117&r2=text&tr2=1.118&diff_format=h">M</a></td><td width='1%'>1.118</td><td width='100%'>c/src/lib/libbsp/m68k/uC5282/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/uC5282/clock/clock.c.diff?r1=text&tr1=1.16&r2=text&tr2=1.17&diff_format=h">M</a></td><td width='1%'>1.17</td><td width='100%'>c/src/lib/libbsp/m68k/uC5282/clock/clock.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/uC5282/startup/bspstart.c.diff?r1=text&tr1=1.59&r2=text&tr2=1.60&diff_format=h">M</a></td><td width='1%'>1.60</td><td width='100%'>c/src/lib/libbsp/m68k/uC5282/startup/bspstart.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/uC5282/startup/init5282.c.diff?r1=text&tr1=1.7&r2=text&tr2=1.8&diff_format=h">M</a></td><td width='1%'>1.8</td><td width='100%'>c/src/lib/libbsp/m68k/uC5282/startup/init5282.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/uC5282/ChangeLog:1.117 rtems/c/src/lib/libbsp/m68k/uC5282/ChangeLog:1.118
--- rtems/c/src/lib/libbsp/m68k/uC5282/ChangeLog:1.117 Wed Feb 9 02:33:42 2011
+++ rtems/c/src/lib/libbsp/m68k/uC5282/ChangeLog Fri Feb 11 06:34:18 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * clock/clock.c, startup/bspstart.c, startup/init5282.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/uC5282/clock/clock.c:1.16 rtems/c/src/lib/libbsp/m68k/uC5282/clock/clock.c:1.17
--- rtems/c/src/lib/libbsp/m68k/uC5282/clock/clock.c:1.16 Wed Aug 26 08:32:22 2009
+++ rtems/c/src/lib/libbsp/m68k/uC5282/clock/clock.c Fri Feb 11 06:34:18 2011
</font><font color='#997700'>@@ -115,7 +115,7 @@
</font> Thread bsp_idle_thread(uint32_t ignored)
{
for(;;)
<font color='#880000'>- asm volatile ("addq.l #1,__SRAMBASE"); /* Atomic increment */
</font><font color='#000088'>+ __asm__ volatile ("addq.l #1,__SRAMBASE"); /* Atomic increment */
</font> }
int rtems_bsp_cpu_load_percentage(void)
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/uC5282/startup/bspstart.c:1.59 rtems/c/src/lib/libbsp/m68k/uC5282/startup/bspstart.c:1.60
--- rtems/c/src/lib/libbsp/m68k/uC5282/startup/bspstart.c:1.59 Mon Apr 26 12:44:57 2010
+++ rtems/c/src/lib/libbsp/m68k/uC5282/startup/bspstart.c Fri Feb 11 06:34:18 2011
</font><font color='#997700'>@@ -75,10 +75,10 @@
</font> * ACRn[5] = BUFW (buffered write enable) must be 0
* Fix plan: Currently, there are no plans to fix this.
*/
<font color='#880000'>-#define m68k_set_cacr_nop(_cacr) asm volatile ("movec %0,%%cacr\n\tnop" : : "d" (_cacr))
-#define m68k_set_cacr(_cacr) asm volatile ("movec %0,%%cacr" : : "d" (_cacr))
-#define m68k_set_acr0(_acr0) asm volatile ("movec %0,%%acr0" : : "d" (_acr0))
-#define m68k_set_acr1(_acr1) asm volatile ("movec %0,%%acr1" : : "d" (_acr1))
</font><font color='#000088'>+#define m68k_set_cacr_nop(_cacr) __asm__ volatile ("movec %0,%%cacr\n\tnop" : : "d" (_cacr))
+#define m68k_set_cacr(_cacr) __asm__ volatile ("movec %0,%%cacr" : : "d" (_cacr))
+#define m68k_set_acr0(_acr0) __asm__ volatile ("movec %0,%%acr0" : : "d" (_acr0))
+#define m68k_set_acr1(_acr1) __asm__ volatile ("movec %0,%%acr1" : : "d" (_acr1))
</font>
/*
* Read/write copy of cache registers
<font color='#997700'>@@ -140,7 +140,7 @@
</font> * Top half of cache is I-space
*/
addr = (void *)((int)addr | 0x400);
<font color='#880000'>- asm volatile ("cpushl %%bc,(%0)" :: "a" (addr));
</font><font color='#000088'>+ __asm__ volatile ("cpushl %%bc,(%0)" :: "a" (addr));
</font> }
void _CPU_cache_enable_data(void)
<font color='#997700'>@@ -181,7 +181,7 @@
</font> * Bottom half of cache is D-space
*/
addr = (void *)((int)addr & ~0x400);
<font color='#880000'>- asm volatile ("cpushl %%bc,(%0)" :: "a" (addr));
</font><font color='#000088'>+ __asm__ volatile ("cpushl %%bc,(%0)" :: "a" (addr));
</font> #endif
}
<font color='#997700'>@@ -415,7 +415,7 @@
</font> /* reset-control register */
#define RCR "__IPSBAR + 0x110000"
<font color='#880000'>-asm(
</font><font color='#000088'>+__asm__ (
</font> "bsp_fake_syscall: \n"
" cmpl #0, %d0 \n" /* sysreset */
" bne 1f \n"
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/uC5282/startup/init5282.c:1.7 rtems/c/src/lib/libbsp/m68k/uC5282/startup/init5282.c:1.8
--- rtems/c/src/lib/libbsp/m68k/uC5282/startup/init5282.c:1.7 Tue Apr 27 12:23:22 2010
+++ rtems/c/src/lib/libbsp/m68k/uC5282/startup/init5282.c Fri Feb 11 06:34:18 2011
</font><font color='#997700'>@@ -19,9 +19,9 @@
</font> #include <rtems.h>
#include <bsp.h>
<font color='#880000'>-#define m68k_set_cacr(_cacr) asm volatile ("movec %0,%%cacr" : : "d" (_cacr))
-#define m68k_set_acr0(_acr0) asm volatile ("movec %0,%%acr0" : : "d" (_acr0))
-#define m68k_set_acr1(_acr1) asm volatile ("movec %0,%%acr1" : : "d" (_acr1))
</font><font color='#000088'>+#define m68k_set_cacr(_cacr) __asm__ volatile ("movec %0,%%cacr" : : "d" (_cacr))
+#define m68k_set_acr0(_acr0) __asm__ volatile ("movec %0,%%acr0" : : "d" (_acr0))
+#define m68k_set_acr1(_acr1) __asm__ volatile ("movec %0,%%acr1" : : "d" (_acr1))
</font>
extern void CopyDataClearBSSAndStart (void);
</pre>
<p> </p>
<a name='cs12'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>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.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mvme136/ChangeLog.diff?r1=text&tr1=1.114&r2=text&tr2=1.115&diff_format=h">M</a></td><td width='1%'>1.115</td><td width='100%'>c/src/lib/libbsp/m68k/mvme136/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mvme136/include/bsp.h.diff?r1=text&tr1=1.26&r2=text&tr2=1.27&diff_format=h">M</a></td><td width='1%'>1.27</td><td width='100%'>c/src/lib/libbsp/m68k/mvme136/include/bsp.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mvme136/shmsupp/lock.c.diff?r1=text&tr1=1.11&r2=text&tr2=1.12&diff_format=h">M</a></td><td width='1%'>1.12</td><td width='100%'>c/src/lib/libbsp/m68k/mvme136/shmsupp/lock.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c.diff?r1=text&tr1=1.13&r2=text&tr2=1.14&diff_format=h">M</a></td><td width='1%'>1.14</td><td width='100%'>c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mvme136/ChangeLog:1.114 rtems/c/src/lib/libbsp/m68k/mvme136/ChangeLog:1.115
--- rtems/c/src/lib/libbsp/m68k/mvme136/ChangeLog:1.114 Wed Feb 9 06:10:53 2011
+++ rtems/c/src/lib/libbsp/m68k/mvme136/ChangeLog Fri Feb 11 06:34:22 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+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.
+
</font> 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mvme136/include/bsp.h:1.26 rtems/c/src/lib/libbsp/m68k/mvme136/include/bsp.h:1.27
--- rtems/c/src/lib/libbsp/m68k/mvme136/include/bsp.h:1.26 Thu Sep 18 12:38:26 2008
+++ rtems/c/src/lib/libbsp/m68k/mvme136/include/bsp.h Fri Feb 11 06:34:23 2011
</font><font color='#997700'>@@ -34,7 +34,7 @@
</font> #define rtems_bsp_delay( microseconds ) \
{ register uint32_t _delay=(microseconds); \
register uint32_t _tmp=123; \
<font color='#880000'>- asm volatile( "0: \
</font><font color='#000088'>+ __asm__ volatile( "0: \
</font> nbcd %0 ; \
nbcd %0 ; \
dbf %1,0b" \
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mvme136/shmsupp/lock.c:1.11 rtems/c/src/lib/libbsp/m68k/mvme136/shmsupp/lock.c:1.12
--- rtems/c/src/lib/libbsp/m68k/mvme136/shmsupp/lock.c:1.11 Thu Apr 15 08:26:14 2004
+++ rtems/c/src/lib/libbsp/m68k/mvme136/shmsupp/lock.c Fri Feb 11 06:34:23 2011
</font><font color='#997700'>@@ -49,9 +49,9 @@
</font>
rtems_interrupt_disable( isr_level );
Shm_isrstat = isr_level;
<font color='#880000'>- asm volatile( "lockit:" : : );
- asm volatile( "tas %0@" : "=a" (lockptr) : "0" (lockptr) );
- asm volatile( "bne lockit" : : );
</font><font color='#000088'>+ __asm__ volatile( "lockit:" : : );
+ __asm__ volatile( "tas %0@" : "=a" (lockptr) : "0" (lockptr) );
+ __asm__ volatile( "bne lockit" : : );
</font> /* should delay */
}
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c:1.13 rtems/c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c:1.14
--- rtems/c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c:1.13 Wed Apr 28 14:43:29 2010
+++ rtems/c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c Fri Feb 11 06:34:23 2011
</font><font color='#997700'>@@ -23,12 +23,12 @@
</font> register volatile void *start_addr;
m68k_set_vbr( 0 ); /* restore 135Bug vectors */
<font color='#880000'>- asm volatile( "trap #15" ); /* trap to 135Bug */
- asm volatile( ".short 0x63" ); /* return to 135Bug (.RETURN) */
</font><font color='#000088'>+ __asm__ volatile( "trap #15" ); /* trap to 135Bug */
+ __asm__ volatile( ".short 0x63" ); /* return to 135Bug (.RETURN) */
</font> /* restart program */
start_addr = start;
<font color='#880000'>- asm volatile ( "jmp %0@" : "=a" (start_addr) : "0" (start_addr) );
</font><font color='#000088'>+ __asm__ volatile ( "jmp %0@" : "=a" (start_addr) : "0" (start_addr) );
</font> }
#define TIMER 0xfffb0000
<font color='#997700'>@@ -41,5 +41,5 @@
</font> Z8x36_WRITE( TIMER, CT1_CMD_STATUS, 0x00 );
M68Kvec[ 45 ] = bsp_return_to_monitor_trap; /* install handler */
<font color='#880000'>- asm volatile( "trap #13" ); /* insures SUPV mode */
</font><font color='#000088'>+ __asm__ volatile( "trap #13" ); /* insures SUPV mode */
</font> }
</pre>
<p> </p>
<a name='cs13'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/bsp.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m32c/m32cbsp/ChangeLog.diff?r1=text&tr1=1.14&r2=text&tr2=1.15&diff_format=h">M</a></td><td width='1%'>1.15</td><td width='100%'>c/src/lib/libbsp/m32c/m32cbsp/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m32c/m32cbsp/include/bsp.h.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>c/src/lib/libbsp/m32c/m32cbsp/include/bsp.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m32r/m32rsim/ChangeLog.diff?r1=text&tr1=1.12&r2=text&tr2=1.13&diff_format=h">M</a></td><td width='1%'>1.13</td><td width='100%'>c/src/lib/libbsp/m32r/m32rsim/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m32r/m32rsim/include/bsp.h.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>c/src/lib/libbsp/m32r/m32rsim/include/bsp.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/gen68302/ChangeLog.diff?r1=text&tr1=1.119&r2=text&tr2=1.120&diff_format=h">M</a></td><td width='1%'>1.120</td><td width='100%'>c/src/lib/libbsp/m68k/gen68302/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/gen68302/include/bsp.h.diff?r1=text&tr1=1.23&r2=text&tr2=1.24&diff_format=h">M</a></td><td width='1%'>1.24</td><td width='100%'>c/src/lib/libbsp/m68k/gen68302/include/bsp.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/gen68340/ChangeLog.diff?r1=text&tr1=1.127&r2=text&tr2=1.128&diff_format=h">M</a></td><td width='1%'>1.128</td><td width='100%'>c/src/lib/libbsp/m68k/gen68340/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/gen68340/include/bsp.h.diff?r1=text&tr1=1.19&r2=text&tr2=1.20&diff_format=h">M</a></td><td width='1%'>1.20</td><td width='100%'>c/src/lib/libbsp/m68k/gen68340/include/bsp.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/gen68360/ChangeLog.diff?r1=text&tr1=1.135&r2=text&tr2=1.136&diff_format=h">M</a></td><td width='1%'>1.136</td><td width='100%'>c/src/lib/libbsp/m68k/gen68360/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/gen68360/include/bsp.h.diff?r1=text&tr1=1.34&r2=text&tr2=1.35&diff_format=h">M</a></td><td width='1%'>1.35</td><td width='100%'>c/src/lib/libbsp/m68k/gen68360/include/bsp.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/sim68000/ChangeLog.diff?r1=text&tr1=1.113&r2=text&tr2=1.114&diff_format=h">M</a></td><td width='1%'>1.114</td><td width='100%'>c/src/lib/libbsp/m68k/sim68000/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/sim68000/include/bsp.h.diff?r1=text&tr1=1.14&r2=text&tr2=1.15&diff_format=h">M</a></td><td width='1%'>1.15</td><td width='100%'>c/src/lib/libbsp/m68k/sim68000/include/bsp.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m32c/m32cbsp/ChangeLog:1.14 rtems/c/src/lib/libbsp/m32c/m32cbsp/ChangeLog:1.15
--- rtems/c/src/lib/libbsp/m32c/m32cbsp/ChangeLog:1.14 Wed Feb 9 02:25:58 2011
+++ rtems/c/src/lib/libbsp/m32c/m32cbsp/ChangeLog Fri Feb 11 06:14:46 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * include/bsp.h:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m32c/m32cbsp/include/bsp.h:1.1 rtems/c/src/lib/libbsp/m32c/m32cbsp/include/bsp.h:1.2
--- rtems/c/src/lib/libbsp/m32c/m32cbsp/include/bsp.h:1.1 Thu Oct 2 16:34:35 2008
+++ rtems/c/src/lib/libbsp/m32c/m32cbsp/include/bsp.h Fri Feb 11 06:14:46 2011
</font><font color='#997700'>@@ -39,7 +39,7 @@
</font> #define rtems_bsp_delay( microseconds ) \
{ register uint32_t _delay=(microseconds); \
register uint32_t _tmp = 0; /* initialized to avoid warning */ \
<font color='#880000'>- asm volatile( "0: \
</font><font color='#000088'>+ __asm__ volatile( "0: \
</font> remo 3,31,%0 ; \
cmpo 0,%0 ; \
subo 1,%1,%1 ; \
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m32r/m32rsim/ChangeLog:1.12 rtems/c/src/lib/libbsp/m32r/m32rsim/ChangeLog:1.13
--- rtems/c/src/lib/libbsp/m32r/m32rsim/ChangeLog:1.12 Wed Feb 2 08:58:33 2011
+++ rtems/c/src/lib/libbsp/m32r/m32rsim/ChangeLog Fri Feb 11 06:15:54 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * include/bsp.h:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m32r/m32rsim/include/bsp.h:1.2 rtems/c/src/lib/libbsp/m32r/m32rsim/include/bsp.h:1.3
--- rtems/c/src/lib/libbsp/m32r/m32rsim/include/bsp.h:1.2 Mon Jan 31 11:41:09 2011
+++ rtems/c/src/lib/libbsp/m32r/m32rsim/include/bsp.h Fri Feb 11 06:15:54 2011
</font><font color='#997700'>@@ -56,7 +56,7 @@
</font> #define rtems_bsp_delay( microseconds ) \
{ register uint32_t _delay=(microseconds); \
register uint32_t _tmp = 0; /* initialized to avoid warning */ \
<font color='#880000'>- asm volatile( "0: \
</font><font color='#000088'>+ __asm__ volatile( "0: \
</font> remo 3,31,%0 ; \
cmpo 0,%0 ; \
subo 1,%1,%1 ; \
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/gen68302/ChangeLog:1.119 rtems/c/src/lib/libbsp/m68k/gen68302/ChangeLog:1.120
--- rtems/c/src/lib/libbsp/m68k/gen68302/ChangeLog:1.119 Wed Feb 9 02:35:59 2011
+++ rtems/c/src/lib/libbsp/m68k/gen68302/ChangeLog Fri Feb 11 06:30:04 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * include/bsp.h:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/gen68302/include/bsp.h:1.23 rtems/c/src/lib/libbsp/m68k/gen68302/include/bsp.h:1.24
--- rtems/c/src/lib/libbsp/m68k/gen68302/include/bsp.h:1.23 Thu Sep 18 12:38:53 2008
+++ rtems/c/src/lib/libbsp/m68k/gen68302/include/bsp.h Fri Feb 11 06:30:04 2011
</font><font color='#997700'>@@ -36,7 +36,7 @@
</font> #define rtems_bsp_delay( microseconds ) \
{ register uint32_t _delay=(microseconds); \
register uint32_t _tmp=123; \
<font color='#880000'>- asm volatile( "0: \
</font><font color='#000088'>+ __asm__ volatile( "0: \
</font> nbcd %0 ; \
nbcd %0 ; \
dbf %1,0b" \
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/gen68340/ChangeLog:1.127 rtems/c/src/lib/libbsp/m68k/gen68340/ChangeLog:1.128
--- rtems/c/src/lib/libbsp/m68k/gen68340/ChangeLog:1.127 Wed Feb 9 02:37:01 2011
+++ rtems/c/src/lib/libbsp/m68k/gen68340/ChangeLog Fri Feb 11 06:30:06 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * include/bsp.h:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/gen68340/include/bsp.h:1.19 rtems/c/src/lib/libbsp/m68k/gen68340/include/bsp.h:1.20
--- rtems/c/src/lib/libbsp/m68k/gen68340/include/bsp.h:1.19 Thu Sep 18 12:38:55 2008
+++ rtems/c/src/lib/libbsp/m68k/gen68340/include/bsp.h Fri Feb 11 06:30:07 2011
</font><font color='#997700'>@@ -39,7 +39,7 @@
</font> #define rtems_bsp_delay( microseconds ) \
{ register uint32_t _delay=(microseconds); \
register uint32_t _tmp=123; \
<font color='#880000'>- asm volatile( "0: \
</font><font color='#000088'>+ __asm__ volatile( "0: \
</font> nbcd %0 ; \
nbcd %0 ; \
dbf %1,0b" \
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/gen68360/ChangeLog:1.135 rtems/c/src/lib/libbsp/m68k/gen68360/ChangeLog:1.136
--- rtems/c/src/lib/libbsp/m68k/gen68360/ChangeLog:1.135 Wed Feb 9 06:13:53 2011
+++ rtems/c/src/lib/libbsp/m68k/gen68360/ChangeLog Fri Feb 11 06:30:09 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * include/bsp.h:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/gen68360/include/bsp.h:1.34 rtems/c/src/lib/libbsp/m68k/gen68360/include/bsp.h:1.35
--- rtems/c/src/lib/libbsp/m68k/gen68360/include/bsp.h:1.34 Sun Nov 29 08:59:40 2009
+++ rtems/c/src/lib/libbsp/m68k/gen68360/include/bsp.h Fri Feb 11 06:30:09 2011
</font><font color='#997700'>@@ -53,7 +53,7 @@
</font> #define rtems_bsp_delay( microseconds ) \
{ register uint32_t _delay=(microseconds); \
register uint32_t _tmp=123; \
<font color='#880000'>- asm volatile( "0: \
</font><font color='#000088'>+ __asm__ volatile( "0: \
</font> nbcd %0 ; \
nbcd %0 ; \
dbf %1,0b" \
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/sim68000/ChangeLog:1.113 rtems/c/src/lib/libbsp/m68k/sim68000/ChangeLog:1.114
--- rtems/c/src/lib/libbsp/m68k/sim68000/ChangeLog:1.113 Wed Feb 2 08:59:25 2011
+++ rtems/c/src/lib/libbsp/m68k/sim68000/ChangeLog Fri Feb 11 06:34:24 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * include/bsp.h:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/sim68000/include/bsp.h:1.14 rtems/c/src/lib/libbsp/m68k/sim68000/include/bsp.h:1.15
--- rtems/c/src/lib/libbsp/m68k/sim68000/include/bsp.h:1.14 Thu Sep 18 12:39:23 2008
+++ rtems/c/src/lib/libbsp/m68k/sim68000/include/bsp.h Fri Feb 11 06:34:24 2011
</font><font color='#997700'>@@ -39,7 +39,7 @@
</font> #define rtems_bsp_delay( microseconds ) \
{ register uint32_t _delay=(microseconds); \
register uint32_t _tmp = 0; /* initialized to avoid warning */ \
<font color='#880000'>- asm volatile( "0: \
</font><font color='#000088'>+ __asm__ volatile( "0: \
</font> remo 3,31,%0 ; \
cmpo 0,%0 ; \
subo 1,%1,%1 ; \
</pre>
<p> </p>
<a name='cs14'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/cfinit.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mcf52235/ChangeLog.diff?r1=text&tr1=1.37&r2=text&tr2=1.38&diff_format=h">M</a></td><td width='1%'>1.38</td><td width='100%'>c/src/lib/libbsp/m68k/mcf52235/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mcf52235/startup/cfinit.c.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>c/src/lib/libbsp/m68k/mcf52235/startup/cfinit.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mcf5329/ChangeLog.diff?r1=text&tr1=1.35&r2=text&tr2=1.36&diff_format=h">M</a></td><td width='1%'>1.36</td><td width='100%'>c/src/lib/libbsp/m68k/mcf5329/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mcf5329/startup/cfinit.c.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>c/src/lib/libbsp/m68k/mcf5329/startup/cfinit.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mcf52235/ChangeLog:1.37 rtems/c/src/lib/libbsp/m68k/mcf52235/ChangeLog:1.38
--- rtems/c/src/lib/libbsp/m68k/mcf52235/ChangeLog:1.37 Wed Feb 9 06:06:40 2011
+++ rtems/c/src/lib/libbsp/m68k/mcf52235/ChangeLog Fri Feb 11 06:30:17 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * startup/cfinit.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mcf52235/startup/cfinit.c:1.3 rtems/c/src/lib/libbsp/m68k/mcf52235/startup/cfinit.c:1.4
--- rtems/c/src/lib/libbsp/m68k/mcf52235/startup/cfinit.c:1.3 Sun Nov 29 08:59:41 2009
+++ rtems/c/src/lib/libbsp/m68k/mcf52235/startup/cfinit.c Fri Feb 11 06:30:18 2011
</font><font color='#997700'>@@ -51,7 +51,7 @@
</font> void init_main(void)
{
/* Mask all interrupts */
<font color='#880000'>- asm("move.w #0x2700,%sr");
</font><font color='#000088'>+ __asm__ ("move.w #0x2700,%sr");
</font>
/* Initialise base address of peripherals, VBR, etc */
init_ipsbar();
<font color='#997700'>@@ -172,8 +172,8 @@
</font>
See Device Errata for further details
*/
<font color='#880000'>- asm("move.l #0x00000161,%d0");
- asm("movec %d0,%FLASHBAR");
</font><font color='#000088'>+ __asm__ ("move.l #0x00000161,%d0");
+ __asm__ ("movec %d0,%FLASHBAR");
</font> }
/*********************************************************************
<font color='#997700'>@@ -232,8 +232,8 @@
</font> DMA access to SRAM block disabled
All access types (supervisor and user) allowed
*/
<font color='#880000'>- asm("move.l #0x20000001,%d0");
- asm("movec %d0,%RAMBAR");
</font><font color='#000088'>+ __asm__ ("move.l #0x20000001,%d0");
+ __asm__ ("movec %d0,%RAMBAR");
</font> }
/*********************************************************************
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mcf5329/ChangeLog:1.35 rtems/c/src/lib/libbsp/m68k/mcf5329/ChangeLog:1.36
--- rtems/c/src/lib/libbsp/m68k/mcf5329/ChangeLog:1.35 Wed Feb 9 06:09:16 2011
+++ rtems/c/src/lib/libbsp/m68k/mcf5329/ChangeLog Fri Feb 11 06:36:09 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * startup/cfinit.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mcf5329/startup/cfinit.c:1.4 rtems/c/src/lib/libbsp/m68k/mcf5329/startup/cfinit.c:1.5
--- rtems/c/src/lib/libbsp/m68k/mcf5329/startup/cfinit.c:1.4 Sun Nov 29 08:59:41 2009
+++ rtems/c/src/lib/libbsp/m68k/mcf5329/startup/cfinit.c Fri Feb 11 06:36:10 2011
</font><font color='#997700'>@@ -118,8 +118,8 @@
</font> **********************************************************************/
static void disable_cache(void)
{
<font color='#880000'>- asm("move.l #0x01000000,%d0");
- asm("movec %d0,%CACR");
</font><font color='#000088'>+ __asm__ ("move.l #0x01000000,%d0");
+ __asm__ ("movec %d0,%CACR");
</font> }
/*********************************************************************
<font color='#997700'>@@ -182,13 +182,13 @@
</font> * Cache is enabled in bspstart.c
*/
#if 0
<font color='#880000'>- asm("move.l #0xa0000600,%d0");
- asm("movec %d0,%CACR");
</font><font color='#000088'>+ __asm__ ("move.l #0xa0000600,%d0");
+ __asm__ ("movec %d0,%CACR");
</font> #endif
<font color='#880000'>- asm("move.l #0x4001c020,%d0");
- asm("movec %d0,%ACR0");
- asm("move.l #0x00000000,%d0");
- asm("movec %d0,%ACR1");
</font><font color='#000088'>+ __asm__ ("move.l #0x4001c020,%d0");
+ __asm__ ("movec %d0,%ACR0");
+ __asm__ ("move.l #0x00000000,%d0");
+ __asm__ ("movec %d0,%ACR1");
</font> }
/*********************************************************************
</pre>
<p> </p>
<a name='cs15'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/bspclean.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mcf5225x/ChangeLog.diff?r1=text&tr1=1.8&r2=text&tr2=1.9&diff_format=h">M</a></td><td width='1%'>1.9</td><td width='100%'>c/src/lib/libbsp/m68k/mcf5225x/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mcf5225x/startup/bspclean.c.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>c/src/lib/libbsp/m68k/mcf5225x/startup/bspclean.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mvme147/ChangeLog.diff?r1=text&tr1=1.112&r2=text&tr2=1.113&diff_format=h">M</a></td><td width='1%'>1.113</td><td width='100%'>c/src/lib/libbsp/m68k/mvme147/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mvme147/startup/bspclean.c.diff?r1=text&tr1=1.10&r2=text&tr2=1.11&diff_format=h">M</a></td><td width='1%'>1.11</td><td width='100%'>c/src/lib/libbsp/m68k/mvme147/startup/bspclean.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mcf5225x/ChangeLog:1.8 rtems/c/src/lib/libbsp/m68k/mcf5225x/ChangeLog:1.9
--- rtems/c/src/lib/libbsp/m68k/mcf5225x/ChangeLog:1.8 Wed Feb 9 06:07:27 2011
+++ rtems/c/src/lib/libbsp/m68k/mcf5225x/ChangeLog Fri Feb 11 06:30:19 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * startup/bspclean.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mcf5225x/startup/bspclean.c:1.1 rtems/c/src/lib/libbsp/m68k/mcf5225x/startup/bspclean.c:1.2
--- rtems/c/src/lib/libbsp/m68k/mcf5225x/startup/bspclean.c:1.1 Mon Apr 5 12:06:57 2010
+++ rtems/c/src/lib/libbsp/m68k/mcf5225x/startup/bspclean.c Fri Feb 11 06:30:19 2011
</font><font color='#997700'>@@ -26,7 +26,7 @@
</font> {
printk("\nRTEMS exited!\n");
for (;;) {
<font color='#880000'>- asm volatile (" nop ");
- asm volatile (" nop ");
</font><font color='#000088'>+ __asm__ volatile (" nop ");
+ __asm__ volatile (" nop ");
</font> }
}
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mvme147/ChangeLog:1.112 rtems/c/src/lib/libbsp/m68k/mvme147/ChangeLog:1.113
--- rtems/c/src/lib/libbsp/m68k/mvme147/ChangeLog:1.112 Wed Feb 9 06:11:48 2011
+++ rtems/c/src/lib/libbsp/m68k/mvme147/ChangeLog Fri Feb 11 06:36:11 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * startup/bspclean.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mvme147/startup/bspclean.c:1.10 rtems/c/src/lib/libbsp/m68k/mvme147/startup/bspclean.c:1.11
--- rtems/c/src/lib/libbsp/m68k/mvme147/startup/bspclean.c:1.10 Mon Jun 14 11:02:01 2010
+++ rtems/c/src/lib/libbsp/m68k/mvme147/startup/bspclean.c Fri Feb 11 06:36:11 2011
</font><font color='#997700'>@@ -26,12 +26,12 @@
</font> register volatile void *start_addr;
m68k_set_vbr( 0 ); /* restore 147Bug vectors */
<font color='#880000'>- asm volatile( "trap #15" ); /* trap to 147Bug */
- asm volatile( ".short 0x63" ); /* return to 147Bug (.RETURN) */
</font><font color='#000088'>+ __asm__ volatile( "trap #15" ); /* trap to 147Bug */
+ __asm__ volatile( ".short 0x63" ); /* return to 147Bug (.RETURN) */
</font> /* restart program */
start_addr = start;
<font color='#880000'>- asm volatile ( "jmp %0@" : "=a" (start_addr) : "0" (start_addr) );
</font><font color='#000088'>+ __asm__ volatile ( "jmp %0@" : "=a" (start_addr) : "0" (start_addr) );
</font> }
void bsp_cleanup( void )
<font color='#997700'>@@ -40,5 +40,5 @@
</font> pcc->timer2_int_control = 0; /* Disable Timer 2 */
M68Kvec[ 45 ] = bsp_return_to_monitor_trap; /* install handler */
<font color='#880000'>- asm volatile( "trap #13" ); /* ensures SUPV mode */
</font><font color='#000088'>+ __asm__ volatile( "trap #13" ); /* ensures SUPV mode */
</font> }
</pre>
<p> </p>
<a name='cs16'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>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.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mvme162/ChangeLog.diff?r1=text&tr1=1.125&r2=text&tr2=1.126&diff_format=h">M</a></td><td width='1%'>1.126</td><td width='100%'>c/src/lib/libbsp/m68k/mvme162/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mvme162/startup/bspclean.c.diff?r1=text&tr1=1.14&r2=text&tr2=1.15&diff_format=h">M</a></td><td width='1%'>1.15</td><td width='100%'>c/src/lib/libbsp/m68k/mvme162/startup/bspclean.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mvme162/startup/page_table.c.diff?r1=text&tr1=1.7&r2=text&tr2=1.8&diff_format=h">M</a></td><td width='1%'>1.8</td><td width='100%'>c/src/lib/libbsp/m68k/mvme162/startup/page_table.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mvme162/ChangeLog:1.125 rtems/c/src/lib/libbsp/m68k/mvme162/ChangeLog:1.126
--- rtems/c/src/lib/libbsp/m68k/mvme162/ChangeLog:1.125 Wed Feb 9 06:12:29 2011
+++ rtems/c/src/lib/libbsp/m68k/mvme162/ChangeLog Fri Feb 11 06:37:55 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+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.
+
</font> 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mvme162/startup/bspclean.c:1.14 rtems/c/src/lib/libbsp/m68k/mvme162/startup/bspclean.c:1.15
--- rtems/c/src/lib/libbsp/m68k/mvme162/startup/bspclean.c:1.14 Wed Apr 28 14:43:33 2010
+++ rtems/c/src/lib/libbsp/m68k/mvme162/startup/bspclean.c Fri Feb 11 06:37:56 2011
</font><font color='#997700'>@@ -36,8 +36,8 @@
</font> m68k_set_vbr(0xFFE00000); /* restore 162Bug vectors */
#endif
<font color='#880000'>- asm volatile( "trap #15" ); /* trap to 162Bug */
- asm volatile( ".short 0x63" ); /* return to 162Bug (.RETURN) */
</font><font color='#000088'>+ __asm__ volatile( "trap #15" ); /* trap to 162Bug */
+ __asm__ volatile( ".short 0x63" ); /* return to 162Bug (.RETURN) */
</font> /* restart program */
/*
* This does not work on the 162....
<font color='#997700'>@@ -47,7 +47,7 @@
</font>
start_addr = start;
<font color='#880000'>- asm volatile ( "jmp %0@" : "=a" (start_addr) : "0" (start_addr) );
</font><font color='#000088'>+ __asm__ volatile ( "jmp %0@" : "=a" (start_addr) : "0" (start_addr) );
</font> }
#endif
}
<font color='#997700'>@@ -55,5 +55,5 @@
</font> void bsp_cleanup( void )
{
M68Kvec[ 45 ] = bsp_return_to_monitor_trap; /* install handler */
<font color='#880000'>- asm volatile( "trap #13" ); /* insures SUPV mode */
</font><font color='#000088'>+ __asm__ volatile( "trap #13" ); /* insures SUPV mode */
</font> }
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mvme162/startup/page_table.c:1.7 rtems/c/src/lib/libbsp/m68k/mvme162/startup/page_table.c:1.8
--- rtems/c/src/lib/libbsp/m68k/mvme162/startup/page_table.c:1.7 Wed Apr 21 11:01:35 2004
+++ rtems/c/src/lib/libbsp/m68k/mvme162/startup/page_table.c Fri Feb 11 06:37:56 2011
</font><font color='#997700'>@@ -8,7 +8,7 @@
</font> * The following history is included verbatim from the submitter.
*
* Revision 1.8 1995/11/18 00:07:25 vaitl
<font color='#880000'>- * Modified asm statements to get rid of the register hard-codes.
</font><font color='#000088'>+ * Modified asm-statements to get rid of the register hard-codes.
</font> *
* Revision 1.7 1995/10/27 21:00:32 vaitl
* Modified page table routines so application code can map
<font color='#997700'>@@ -95,12 +95,12 @@
</font> Ignore FC2 for match.
Noncachable.
Not write protected.*/
<font color='#880000'>- asm volatile ("movec %0,%%dtt0\n\
</font><font color='#000088'>+ __asm__ volatile ("movec %0,%%dtt0\n\
</font> movec %0,%%itt0"
:: "d" (0x807fc040));
/* Point urp and srp at root page table. */
<font color='#880000'>- asm volatile ("movec %0,%%urp\n\
</font><font color='#000088'>+ __asm__ volatile ("movec %0,%%urp\n\
</font> movec %0,%%srp"
:: "d" (BASE_TABLE_ADDR));
<font color='#997700'>@@ -108,11 +108,11 @@
</font> page_table_map((void *)0x20000,0x400000-0x20000,CACHE_COPYBACK);
/* Turn on paging with a 4 k page size.*/
<font color='#880000'>- asm volatile ("movec %0,%%tc"
</font><font color='#000088'>+ __asm__ volatile ("movec %0,%%tc"
</font> :: "d" (0x8000));
/* Turn on the cache. */
<font color='#880000'>- asm volatile ("movec %0,%%cacr"
</font><font color='#000088'>+ __asm__ volatile ("movec %0,%%cacr"
</font> :: "d" (0x80008000));
}
<font color='#997700'>@@ -120,7 +120,7 @@
</font> next_avail=(unsigned long *)BASE_TABLE_ADDR;
/* Turn off paging. Turn off the cache. Flush the cache. Tear down
the transparent translations. */
<font color='#880000'>- asm volatile ("movec %0,%%tc\n\
</font><font color='#000088'>+ __asm__ volatile ("movec %0,%%tc\n\
</font> movec %0,%%cacr\n\
cpusha %%bc\n\
movec %0,%%dtt0\n\
<font color='#997700'>@@ -191,7 +191,7 @@
</font> }
/* Flush the ATC. Push and invalidate the cache. */
<font color='#880000'>- asm volatile ("pflusha\n\
</font><font color='#000088'>+ __asm__ volatile ("pflusha\n\
</font> cpusha %bc");
return PTM_SUCCESS;
</pre>
<p> </p>
<a name='cs17'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c, fatal/bspfatal.c, startup/bspclean.c,
startup/page_table.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mvme167/ChangeLog.diff?r1=text&tr1=1.131&r2=text&tr2=1.132&diff_format=h">M</a></td><td width='1%'>1.132</td><td width='100%'>c/src/lib/libbsp/m68k/mvme167/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mvme167/console/console.c.diff?r1=text&tr1=1.19&r2=text&tr2=1.20&diff_format=h">M</a></td><td width='1%'>1.20</td><td width='100%'>c/src/lib/libbsp/m68k/mvme167/console/console.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mvme167/fatal/bspfatal.c.diff?r1=text&tr1=1.9&r2=text&tr2=1.10&diff_format=h">M</a></td><td width='1%'>1.10</td><td width='100%'>c/src/lib/libbsp/m68k/mvme167/fatal/bspfatal.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mvme167/startup/bspclean.c.diff?r1=text&tr1=1.7&r2=text&tr2=1.8&diff_format=h">M</a></td><td width='1%'>1.8</td><td width='100%'>c/src/lib/libbsp/m68k/mvme167/startup/bspclean.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mvme167/startup/page_table.c.diff?r1=text&tr1=1.7&r2=text&tr2=1.8&diff_format=h">M</a></td><td width='1%'>1.8</td><td width='100%'>c/src/lib/libbsp/m68k/mvme167/startup/page_table.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mvme167/ChangeLog:1.131 rtems/c/src/lib/libbsp/m68k/mvme167/ChangeLog:1.132
--- rtems/c/src/lib/libbsp/m68k/mvme167/ChangeLog:1.131 Wed Feb 9 06:13:10 2011
+++ rtems/c/src/lib/libbsp/m68k/mvme167/ChangeLog Fri Feb 11 06:37:58 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * console/console.c, fatal/bspfatal.c, startup/bspclean.c,
+ startup/page_table.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mvme167/console/console.c:1.19 rtems/c/src/lib/libbsp/m68k/mvme167/console/console.c:1.20
--- rtems/c/src/lib/libbsp/m68k/mvme167/console/console.c:1.19 Tue Aug 3 09:16:00 2010
+++ rtems/c/src/lib/libbsp/m68k/mvme167/console/console.c Fri Feb 11 06:37:58 2011
</font><font color='#997700'>@@ -1245,7 +1245,7 @@
</font> */
rtems_interrupt_disable( previous_level );
<font color='#880000'>- asm volatile( "movew %1, -(%%sp)\n\t"/* Channel */
</font><font color='#000088'>+ __asm__ volatile( "movew %1, -(%%sp)\n\t"/* Channel */
</font> "trap #15\n\t" /* Trap to 167Bug */
".short 0x61\n\t" /* Code for .REDIR_I */
"trap #15\n\t" /* Trap to 167Bug */
<font color='#997700'>@@ -1260,7 +1260,7 @@
</font> }
/* Read the char and return it */
<font color='#880000'>- asm volatile( "subq.l #2,%%a7\n\t" /* Space for result */
</font><font color='#000088'>+ __asm__ volatile( "subq.l #2,%%a7\n\t" /* Space for result */
</font> "trap #15\n\t" /* Trap to 167 Bug */
".short 0x00\n\t" /* Code for .INCHR */
"moveb (%%a7)+, %0" /* Pop char into c */
<font color='#997700'>@@ -1296,7 +1296,7 @@
</font> {
const char *endbuf = buf + len;
<font color='#880000'>- asm volatile( "pea (%0)\n\t" /* endbuf */
</font><font color='#000088'>+ __asm__ volatile( "pea (%0)\n\t" /* endbuf */
</font> "pea (%1)\n\t" /* buf */
"movew #0x21, -(%%sp)\n\t" /* Code for .OUTSTR */
"movew %2, -(%%sp)\n\t" /* Channel */
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mvme167/fatal/bspfatal.c:1.9 rtems/c/src/lib/libbsp/m68k/mvme167/fatal/bspfatal.c:1.10
--- rtems/c/src/lib/libbsp/m68k/mvme167/fatal/bspfatal.c:1.9 Tue Dec 8 10:48:26 2009
+++ rtems/c/src/lib/libbsp/m68k/mvme167/fatal/bspfatal.c Fri Feb 11 06:37:58 2011
</font><font color='#997700'>@@ -82,7 +82,7 @@
</font> lcsr->intr_ena = 0; /* disable interrupts */
m68k_set_vbr(0xFFE00000); /* restore 167Bug vectors */
<font color='#880000'>- asm volatile( "movel %0, -(%%a7)\n\t"
</font><font color='#000088'>+ __asm__ volatile( "movel %0, -(%%a7)\n\t"
</font> "pea (%%a7)\n\t"
"pea (%1)\n\t"
"trap #15\n\t" /* trap to 167Bug (.WRITDLN) */
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mvme167/startup/bspclean.c:1.7 rtems/c/src/lib/libbsp/m68k/mvme167/startup/bspclean.c:1.8
--- rtems/c/src/lib/libbsp/m68k/mvme167/startup/bspclean.c:1.7 Wed Apr 28 08:23:11 2010
+++ rtems/c/src/lib/libbsp/m68k/mvme167/startup/bspclean.c Fri Feb 11 06:37:58 2011
</font><font color='#997700'>@@ -43,12 +43,12 @@
</font>
lcsr->intr_ena = 0; /* disable interrupts */
m68k_set_vbr(0xFFE00000); /* restore 167Bug vectors */
<font color='#880000'>- asm volatile( "trap #15\n\t" /* trap to 167Bug */
</font><font color='#000088'>+ __asm__ volatile( "trap #15\n\t" /* trap to 167Bug */
</font> ".short 0x63" ); /* return to 167Bug (.RETURN) */
/* restart program */
start_addr = start;
<font color='#880000'>- asm volatile( "jmp %0@" : "=a" (start_addr) : "0" (start_addr) );
</font><font color='#000088'>+ __asm__ volatile( "jmp %0@" : "=a" (start_addr) : "0" (start_addr) );
</font> }
/*
<font color='#997700'>@@ -77,5 +77,5 @@
</font> void bsp_cleanup( void )
{
M68Kvec[ 45 ] = bsp_return_to_monitor_trap;
<font color='#880000'>- asm volatile( "trap #13" );
</font><font color='#000088'>+ __asm__ volatile( "trap #13" );
</font> }
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mvme167/startup/page_table.c:1.7 rtems/c/src/lib/libbsp/m68k/mvme167/startup/page_table.c:1.8
--- rtems/c/src/lib/libbsp/m68k/mvme167/startup/page_table.c:1.7 Wed Apr 21 11:01:36 2004
+++ rtems/c/src/lib/libbsp/m68k/mvme167/startup/page_table.c Fri Feb 11 06:37:58 2011
</font><font color='#997700'>@@ -120,7 +120,7 @@
</font> }
/* do it ! */
<font color='#880000'>- asm volatile("movec %0, %%tc\n\t" /* turn off paged address translation */
</font><font color='#000088'>+ __asm__ volatile("movec %0, %%tc\n\t" /* turn off paged address translation */
</font> "movec %0, %%cacr\n\t" /* disable both caches */
"cinva %%bc\n\t" /* clear both caches */
"movec %1,%%dtt0\n\t" /* block address translation on */
<font color='#997700'>@@ -145,7 +145,7 @@
</font> */
void page_table_teardown( void )
{
<font color='#880000'>- asm volatile ("movec %0,%%tc\n\t"
</font><font color='#000088'>+ __asm__ volatile ("movec %0,%%tc\n\t"
</font> "movec %0,%%cacr\n\t"
"cpusha %%bc\n\t"
"movec %0,%%dtt0\n\t"
</pre>
<p> </p>
<a name='cs18'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/bsp.h, startup/m68k-stub.c, startup/trace.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/ods68302/ChangeLog.diff?r1=text&tr1=1.129&r2=text&tr2=1.130&diff_format=h">M</a></td><td width='1%'>1.130</td><td width='100%'>c/src/lib/libbsp/m68k/ods68302/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/ods68302/include/bsp.h.diff?r1=text&tr1=1.26&r2=text&tr2=1.27&diff_format=h">M</a></td><td width='1%'>1.27</td><td width='100%'>c/src/lib/libbsp/m68k/ods68302/include/bsp.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/ods68302/startup/m68k-stub.c.diff?r1=text&tr1=1.12&r2=text&tr2=1.13&diff_format=h">M</a></td><td width='1%'>1.13</td><td width='100%'>c/src/lib/libbsp/m68k/ods68302/startup/m68k-stub.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/ods68302/startup/trace.c.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>c/src/lib/libbsp/m68k/ods68302/startup/trace.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/ods68302/ChangeLog:1.129 rtems/c/src/lib/libbsp/m68k/ods68302/ChangeLog:1.130
--- rtems/c/src/lib/libbsp/m68k/ods68302/ChangeLog:1.129 Wed Feb 9 02:38:14 2011
+++ rtems/c/src/lib/libbsp/m68k/ods68302/ChangeLog Fri Feb 11 06:38:31 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * include/bsp.h, startup/m68k-stub.c, startup/trace.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/ods68302/include/bsp.h:1.26 rtems/c/src/lib/libbsp/m68k/ods68302/include/bsp.h:1.27
--- rtems/c/src/lib/libbsp/m68k/ods68302/include/bsp.h:1.26 Fri Apr 30 11:44:17 2010
+++ rtems/c/src/lib/libbsp/m68k/ods68302/include/bsp.h Fri Feb 11 06:38:31 2011
</font><font color='#997700'>@@ -45,7 +45,7 @@
</font> #define rtems_bsp_delay( microseconds ) \
{ register uint32_t _delay=(microseconds); \
register uint32_t _tmp=123; \
<font color='#880000'>- asm volatile( "0: \
</font><font color='#000088'>+ __asm__ volatile( "0: \
</font> nbcd %0 ; \
nbcd %0 ; \
dbf %1,0b" \
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/ods68302/startup/m68k-stub.c:1.12 rtems/c/src/lib/libbsp/m68k/ods68302/startup/m68k-stub.c:1.13
--- rtems/c/src/lib/libbsp/m68k/ods68302/startup/m68k-stub.c:1.12 Mon Jun 21 21:03:36 2010
+++ rtems/c/src/lib/libbsp/m68k/ods68302/startup/m68k-stub.c Fri Feb 11 06:38:31 2011
</font><font color='#997700'>@@ -233,12 +233,12 @@
</font>
/* do an fsave, then remember the address to begin a restore from */
#define SAVE_FP_REGS() \
<font color='#880000'>- asm(" fsave %a0@-"); \
- asm(" fmovemx %fp0-%fp7,registers+72"); \
- asm(" fmoveml %fpcr/%fpsr/%fpi,registers+168");
</font><font color='#000088'>+ __asm__ (" fsave %a0@-"); \
+ __asm__ (" fmovemx %fp0-%fp7,registers+72"); \
+ __asm__ (" fmoveml %fpcr/%fpsr/%fpi,registers+168");
</font>
#define RESTORE_FP_REGS() \
<font color='#880000'>-asm(" \n\
</font><font color='#000088'>+__asm__ (" \n\
</font> fmoveml registers+168,%fpcr/%fpsr/%fpi \n\
fmovemx registers+72,%fp0-%fp7 \n\
cmpl #-1,%a0@ | skip frestore flag set ? \n\
<font color='#997700'>@@ -257,7 +257,7 @@
</font> void return_to_super(void);
void return_to_user(void);
<font color='#880000'>-asm("\n\
</font><font color='#000088'>+__asm__ ("\n\
</font> .text\n\
\n\
.globl return_to_super\n\
<font color='#997700'>@@ -292,19 +292,19 @@
</font> dbf %d0,copyUserLoop \n\
");
RESTORE_FP_REGS()
<font color='#880000'>-asm("\n\
</font><font color='#000088'>+__asm__ ("\n\
</font> moveml registers,%d0-%d7/%a0-%a6\n\
rte /* pop and go! */\n\
");
<font color='#880000'>-#define DISABLE_INTERRUPTS() asm(" oriw #0x0700,%sr");
-#define BREAKPOINT() asm(" trap #1");
</font><font color='#000088'>+#define DISABLE_INTERRUPTS() __asm__ (" oriw #0x0700,%sr");
+#define BREAKPOINT() __asm__ (" trap #1");
</font>
/* this function is called immediately when a level 7 interrupt occurs */
/* if the previous interrupt level was 7 then we're already servicing */
/* this interrupt and an rte is in order to return to the debugger. */
/* For the 68000, the offset for sr is 6 due to the jsr return address */
<font color='#880000'>-asm("\n\
</font><font color='#000088'>+__asm__ ("\n\
</font> .text\n\
.globl _debug_level7\n\
.align 4\n\
<font color='#997700'>@@ -314,15 +314,15 @@
</font> ");
#if (defined(__mc68020__) && !defined(__mcpu32__)) || defined(__mc68332__)
<font color='#880000'>-asm("\n\
</font><font color='#000088'>+__asm__ ("\n\
</font> movew %sp@(2),%d0\n\
");
#else
<font color='#880000'>-asm("\n\
</font><font color='#000088'>+__asm__ ("\n\
</font> movew %sp@(6),%d0\n\
");
#endif
<font color='#880000'>-asm("\n\
</font><font color='#000088'>+__asm__ ("\n\
</font> andiw #0x700,%d0\n\
cmpiw #0x700,%d0\n\
beq _already7\n\
<font color='#997700'>@@ -332,10 +332,10 @@
</font> movew %sp@+,%d0\n\
");
#if defined (__mc68000__) && !(defined(__mc68020__) && !defined(__mcpu32__))
<font color='#880000'>-asm("\n\
</font><font color='#000088'>+__asm__ ("\n\
</font> lea %sp@(4),%sp"); /* pull off 68000 return address */
#endif
<font color='#880000'>-asm("\n\
</font><font color='#000088'>+__asm__ ("\n\
</font> rte\n\
");
<font color='#997700'>@@ -357,7 +357,7 @@
</font> *
*
*/
<font color='#880000'>-asm(" \n\
</font><font color='#000088'>+__asm__ (" \n\
</font> .text\n\
\n\
.globl _catchException\n\
<font color='#997700'>@@ -367,12 +367,12 @@
</font>
DISABLE_INTERRUPTS();
<font color='#880000'>-asm("\n\
</font><font color='#000088'>+__asm__ ("\n\
</font> moveml %d0-%d7/%a0-%a6,registers /* save registers */\n\
movel lastFrame,%a0 /* last frame pointer */\n\
");
SAVE_FP_REGS();
<font color='#880000'>-asm("\n\
</font><font color='#000088'>+__asm__ ("\n\
</font> lea registers,%a5 /* get address of registers */\n\
movew %sp@,%d1 /* get status register */\n\
movew %d1,%a5@(66) /* save sr<span style="background-color: #FF0000"> </span> */ \n\
<font color='#997700'>@@ -454,20 +454,20 @@
</font> * Return Address MSWord
* Return Address LSWord
*/
<font color='#880000'>-asm("\n\
</font><font color='#000088'>+__asm__ ("\n\
</font> .text\n\
.globl _catchException\n\
.align 4\n\
_catchException:\n\
");
DISABLE_INTERRUPTS();
<font color='#880000'>-asm("\n\
</font><font color='#000088'>+__asm__ ("\n\
</font> moveml %d0-%d7/%a0-%a6,registers /* save registers */\n\
movel lastFrame,%a0 /* last frame pointer */\n\
");
SAVE_FP_REGS();
<font color='#880000'>-asm("\n\
</font><font color='#000088'>+__asm__ ("\n\
</font> moveq.l #0,%d2\n\
movew %sp@+,%d2\n\
lea registers,%a5 /* get address of registers */\n\
<font color='#997700'>@@ -531,13 +531,13 @@
</font> * stack pointer into an area reserved for debugger use in case the
* breakpoint happened in supervisor mode.
*/
<font color='#880000'>-asm("remcomHandler:");
-asm(" addl #4,%sp"); /* pop off return address */
-asm(" movel %sp@+,%d0"); /* get the exception number */
-asm(" movel stackPtr,%sp"); /* move to remcom stack area */
-asm(" movel %d0,%sp@-"); /* push exception onto stack */
-asm(" jbsr handle_exception"); /* this never returns */
-asm(" rts"); /* return */
</font><font color='#000088'>+__asm__ ("remcomHandler:");
+__asm__ (" addl #4,%sp"); /* pop off return address */
+__asm__ (" movel %sp@+,%d0"); /* get the exception number */
+__asm__ (" movel stackPtr,%sp"); /* move to remcom stack area */
+__asm__ (" movel %d0,%sp@-"); /* push exception onto stack */
+__asm__ (" jbsr handle_exception"); /* this never returns */
+__asm__ (" rts"); /* return */
</font>
void _returnFromException(Frame *frame)
{
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/ods68302/startup/trace.c:1.3 rtems/c/src/lib/libbsp/m68k/ods68302/startup/trace.c:1.4
--- rtems/c/src/lib/libbsp/m68k/ods68302/startup/trace.c:1.3 Wed Apr 21 05:42:54 2004
+++ rtems/c/src/lib/libbsp/m68k/ods68302/startup/trace.c Fri Feb 11 06:38:31 2011
</font><font color='#997700'>@@ -90,7 +90,7 @@
</font> unsigned int index;
unsigned char ch;
<font color='#880000'>- asm volatile(" orw #0x0700,%sr");
</font><font color='#000088'>+ __asm__ volatile(" orw #0x0700,%sr");
</font>
debug_port_banner();
</pre>
<p> </p>
<a name='cs19'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* hw_init/hw_init.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/sh/gensh4/ChangeLog.diff?r1=text&tr1=1.107&r2=text&tr2=1.108&diff_format=h">M</a></td><td width='1%'>1.108</td><td width='100%'>c/src/lib/libbsp/sh/gensh4/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/sh/gensh4/hw_init/hw_init.c.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>c/src/lib/libbsp/sh/gensh4/hw_init/hw_init.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/sh/gensh4/ChangeLog:1.107 rtems/c/src/lib/libbsp/sh/gensh4/ChangeLog:1.108
--- rtems/c/src/lib/libbsp/sh/gensh4/ChangeLog:1.107 Wed Feb 2 09:00:30 2011
+++ rtems/c/src/lib/libbsp/sh/gensh4/ChangeLog Fri Feb 11 06:40:16 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * hw_init/hw_init.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/sh/gensh4/hw_init/hw_init.c:1.4 rtems/c/src/lib/libbsp/sh/gensh4/hw_init/hw_init.c:1.5
--- rtems/c/src/lib/libbsp/sh/gensh4/hw_init/hw_init.c:1.4 Fri Apr 16 16:51:30 2004
+++ rtems/c/src/lib/libbsp/sh/gensh4/hw_init/hw_init.c Fri Feb 11 06:40:18 2011
</font><font color='#997700'>@@ -279,7 +279,7 @@
</font> SH7750_CCR);
break;
case SH4_BOOT_MODE_IPL:
<font color='#880000'>- asm volatile (
</font><font color='#000088'>+ __asm__ volatile (
</font> "mov #6, r0\n"
"xor r4, r4\n"
"trapa #0x3f\n"
</pre>
<p> </p>
<a name='cs20'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* irq/discovery_pic.c, network/if_em/rtemscompat_defs.h,
* network/if_gfe/rtemscompat_defs.h, startup/bspstart.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/beatnik/ChangeLog.diff?r1=text&tr1=1.16&r2=text&tr2=1.17&diff_format=h">M</a></td><td width='1%'>1.17</td><td width='100%'>c/src/lib/libbsp/powerpc/beatnik/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/beatnik/irq/discovery_pic.c.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>c/src/lib/libbsp/powerpc/beatnik/irq/discovery_pic.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/beatnik/network/if_em/rtemscompat_defs.h.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>c/src/lib/libbsp/powerpc/beatnik/network/if_em/rtemscompat_defs.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/beatnik/network/if_gfe/rtemscompat_defs.h.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>c/src/lib/libbsp/powerpc/beatnik/network/if_gfe/rtemscompat_defs.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/beatnik/ChangeLog:1.16 rtems/c/src/lib/libbsp/powerpc/beatnik/ChangeLog:1.17
--- rtems/c/src/lib/libbsp/powerpc/beatnik/ChangeLog:1.16 Wed Feb 2 08:59:54 2011
+++ rtems/c/src/lib/libbsp/powerpc/beatnik/ChangeLog Fri Feb 11 06:44:28 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * irq/discovery_pic.c, network/if_em/rtemscompat_defs.h,
+ * network/if_gfe/rtemscompat_defs.h, startup/bspstart.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/beatnik/irq/discovery_pic.c:1.1 rtems/c/src/lib/libbsp/powerpc/beatnik/irq/discovery_pic.c:1.2
--- rtems/c/src/lib/libbsp/powerpc/beatnik/irq/discovery_pic.c:1.1 Thu Dec 3 10:56:44 2009
+++ rtems/c/src/lib/libbsp/powerpc/beatnik/irq/discovery_pic.c Fri Feb 11 06:44:28 2011
</font><font color='#997700'>@@ -75,7 +75,7 @@
</font> #define NUM_INTR_REGS 3
<font color='#880000'>-#define SYNC() asm volatile("sync")
</font><font color='#000088'>+#define SYNC() __asm__ volatile("sync")
</font>
/* How many times should the ISR dispatcher check for
* pending interrupts until it decides that something's
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/beatnik/network/if_em/rtemscompat_defs.h:1.1 rtems/c/src/lib/libbsp/powerpc/beatnik/network/if_em/rtemscompat_defs.h:1.2
--- rtems/c/src/lib/libbsp/powerpc/beatnik/network/if_em/rtemscompat_defs.h:1.1 Thu Dec 3 10:56:39 2009
+++ rtems/c/src/lib/libbsp/powerpc/beatnik/network/if_em/rtemscompat_defs.h Fri Feb 11 06:44:28 2011
</font><font color='#997700'>@@ -100,7 +100,7 @@
</font> #define bus_dmamap_unload(args...) do {} while (0)
#ifdef __PPC__
<font color='#880000'>-#define bus_dmamap_sync(args...) do { asm volatile("sync":::"memory"); } while (0)
</font><font color='#000088'>+#define bus_dmamap_sync(args...) do { __asm__ volatile("sync":::"memory"); } while (0)
</font> #else
#define bus_dmamap_sync(args...) do {} while (0)
#endif
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/beatnik/network/if_gfe/rtemscompat_defs.h:1.1 rtems/c/src/lib/libbsp/powerpc/beatnik/network/if_gfe/rtemscompat_defs.h:1.2
--- rtems/c/src/lib/libbsp/powerpc/beatnik/network/if_gfe/rtemscompat_defs.h:1.1 Thu Dec 3 10:56:25 2009
+++ rtems/c/src/lib/libbsp/powerpc/beatnik/network/if_gfe/rtemscompat_defs.h Fri Feb 11 06:44:28 2011
</font><font color='#997700'>@@ -89,7 +89,7 @@
</font> #define BUS_DMA_NOCACHE 0xdeadbeef
#ifdef __PPC__
<font color='#880000'>-#define bus_dmamap_sync(args...) do { asm volatile("sync":::"memory"); } while(0)
</font><font color='#000088'>+#define bus_dmamap_sync(args...) do { __asm__ volatile("sync":::"memory"); } while(0)
</font> #else
#error "Dont' know how to sync memory on your CPU"
#endif
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c:1.4 rtems/c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c:1.5
--- rtems/c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c:1.4 Wed Jan 26 06:35:17 2011
+++ rtems/c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c Fri Feb 11 06:44:28 2011
</font><font color='#997700'>@@ -233,7 +233,7 @@
</font> * so there is no need to set it in r1 again... It is just for info
* so that it can be printed without accessing R1.
*/
<font color='#880000'>- asm volatile("mr %0, 1":"=r"(stack));
</font><font color='#000088'>+ __asm__ volatile("mr %0, 1":"=r"(stack));
</font>
/* tag the bottom (T. Straumann 6/36/2001 <strauman@slac.stanford.edu>) */
</pre>
<p> </p>
<a name='cs21'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c, console/ns16550cfg.c, console/polled_io.c,
include/bsp.h, include/tm27.h, startup/bspstart.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/ep1a/ChangeLog.diff?r1=text&tr1=1.90&r2=text&tr2=1.91&diff_format=h">M</a></td><td width='1%'>1.91</td><td width='100%'>c/src/lib/libbsp/powerpc/ep1a/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/ep1a/console/console.c.diff?r1=text&tr1=1.7&r2=text&tr2=1.8&diff_format=h">M</a></td><td width='1%'>1.8</td><td width='100%'>c/src/lib/libbsp/powerpc/ep1a/console/console.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/ep1a/console/ns16550cfg.c.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>c/src/lib/libbsp/powerpc/ep1a/console/ns16550cfg.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/ep1a/console/polled_io.c.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>c/src/lib/libbsp/powerpc/ep1a/console/polled_io.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/ep1a/include/bsp.h.diff?r1=text&tr1=1.13&r2=text&tr2=1.14&diff_format=h">M</a></td><td width='1%'>1.14</td><td width='100%'>c/src/lib/libbsp/powerpc/ep1a/include/bsp.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/ep1a/include/tm27.h.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>c/src/lib/libbsp/powerpc/ep1a/include/tm27.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/ep1a/startup/bspstart.c.diff?r1=text&tr1=1.24&r2=text&tr2=1.25&diff_format=h">M</a></td><td width='1%'>1.25</td><td width='100%'>c/src/lib/libbsp/powerpc/ep1a/startup/bspstart.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/ep1a/ChangeLog:1.90 rtems/c/src/lib/libbsp/powerpc/ep1a/ChangeLog:1.91
--- rtems/c/src/lib/libbsp/powerpc/ep1a/ChangeLog:1.90 Wed Feb 2 08:59:55 2011
+++ rtems/c/src/lib/libbsp/powerpc/ep1a/ChangeLog Fri Feb 11 06:44:30 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * console/console.c, console/ns16550cfg.c, console/polled_io.c,
+ include/bsp.h, include/tm27.h, startup/bspstart.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/ep1a/console/console.c:1.7 rtems/c/src/lib/libbsp/powerpc/ep1a/console/console.c:1.8
--- rtems/c/src/lib/libbsp/powerpc/ep1a/console/console.c:1.7 Fri Aug 20 11:03:51 2010
+++ rtems/c/src/lib/libbsp/powerpc/ep1a/console/console.c Fri Feb 11 06:44:30 2011
</font><font color='#997700'>@@ -259,12 +259,12 @@
</font>
if ('\n'==c){
*ptr = '\r';
<font color='#880000'>- asm volatile("sync");
</font><font color='#000088'>+ __asm__ volatile("sync");
</font> for (i=0;i<0x0fff;i++);
}
*ptr = c;
<font color='#880000'>- asm volatile("sync");
</font><font color='#000088'>+ __asm__ volatile("sync");
</font> for (i=0;i<0x0fff;i++);
}
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/ep1a/console/ns16550cfg.c:1.5 rtems/c/src/lib/libbsp/powerpc/ep1a/console/ns16550cfg.c:1.6
--- rtems/c/src/lib/libbsp/powerpc/ep1a/console/ns16550cfg.c:1.5 Sun Nov 29 22:25:26 2009
+++ rtems/c/src/lib/libbsp/powerpc/ep1a/console/ns16550cfg.c Fri Feb 11 06:44:30 2011
</font><font color='#997700'>@@ -29,7 +29,7 @@
</font> volatile struct uart_reg *p = (volatile struct uart_reg *)ulCtrlPort;
uint8_t ucData;
ucData = p[ucRegNum].reg;
<font color='#880000'>- asm volatile("sync");
</font><font color='#000088'>+ __asm__ volatile("sync");
</font> return ucData;
}
<font color='#997700'>@@ -42,9 +42,9 @@
</font> volatile struct uart_reg *p = (volatile struct uart_reg *)ulCtrlPort;
volatile int i;
p[ucRegNum].reg = ucData;
<font color='#880000'>- asm volatile("sync");
- asm volatile("isync");
- asm volatile("eieio");
</font><font color='#000088'>+ __asm__ volatile("sync");
+ __asm__ volatile("isync");
+ __asm__ volatile("eieio");
</font> for (i=0;i<0x08ff;i++)
<font color='#880000'>- asm volatile("isync");
</font><font color='#000088'>+ __asm__ volatile("isync");
</font> }
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/ep1a/console/polled_io.c:1.4 rtems/c/src/lib/libbsp/powerpc/ep1a/console/polled_io.c:1.5
--- rtems/c/src/lib/libbsp/powerpc/ep1a/console/polled_io.c:1.4 Fri Jan 28 14:29:51 2011
+++ rtems/c/src/lib/libbsp/powerpc/ep1a/console/polled_io.c Fri Feb 11 06:44:30 2011
</font><font color='#997700'>@@ -925,7 +925,7 @@
</font> /* Necessary to avoid including a library, and GCC won't do this inline. */
#define div10(num, rmd) \
do { u32 t1, t2, t3; \
<font color='#880000'>- asm("lis %4,0xcccd; " \
</font><font color='#000088'>+ __asm__ ("lis %4,0xcccd; " \
</font> "addi %4,%4,0xffffcccd; " /* Build 0xcccccccd */ \
"mulhwu %3,%0+1,%4; " /* (num.l*cst.l).h */ \
"mullw %2,%0,%4; " /* (num.h*cst.l).l */ \
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/ep1a/include/bsp.h:1.13 rtems/c/src/lib/libbsp/powerpc/ep1a/include/bsp.h:1.14
--- rtems/c/src/lib/libbsp/powerpc/ep1a/include/bsp.h:1.13 Sun Nov 29 22:25:26 2009
+++ rtems/c/src/lib/libbsp/powerpc/ep1a/include/bsp.h Fri Feb 11 06:44:30 2011
</font><font color='#997700'>@@ -174,7 +174,7 @@
</font> ((unsigned long long) ((((unsigned long long)BSP_time_base_divisor) * 1000000ULL) /((unsigned long long) BSP_bus_frequency)) * ((unsigned long long) (_value)))
#define Processor_Synchronize() \
<font color='#880000'>- asm(" eieio ")
</font><font color='#000088'>+ __asm__ (" eieio ")
</font>
extern void BSP_panic(char *s);
extern int BSP_disconnect_clock_handler (void);
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/ep1a/include/tm27.h:1.3 rtems/c/src/lib/libbsp/powerpc/ep1a/include/tm27.h:1.4
--- rtems/c/src/lib/libbsp/powerpc/ep1a/include/tm27.h:1.3 Thu Oct 2 12:27:07 2008
+++ rtems/c/src/lib/libbsp/powerpc/ep1a/include/tm27.h Fri Feb 11 06:44:30 2011
</font><font color='#997700'>@@ -39,22 +39,22 @@
</font> #define Cause_tm27_intr() \
do { \
uint32_t _clicks = 8; \
<font color='#880000'>- asm volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
</font><font color='#000088'>+ __asm__ volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
</font> } while (0)
#define Clear_tm27_intr() \
do { \
uint32_t _clicks = 0xffffffff; \
<font color='#880000'>- asm volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
</font><font color='#000088'>+ __asm__ volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
</font> } while (0)
#define Lower_tm27_intr() \
do { \
uint32_t _msr = 0; \
_ISR_Set_level( 0 ); \
<font color='#880000'>- asm volatile( "mfmsr %0 ;" : "=r" (_msr) : "r" (_msr) ); \
</font><font color='#000088'>+ __asm__ volatile( "mfmsr %0 ;" : "=r" (_msr) : "r" (_msr) ); \
</font> _msr |= 0x8002; \
<font color='#880000'>- asm volatile( "mtmsr %0 ;" : "=r" (_msr) : "r" (_msr) ); \
</font><font color='#000088'>+ __asm__ volatile( "mtmsr %0 ;" : "=r" (_msr) : "r" (_msr) ); \
</font> } while (0)
#endif
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/ep1a/startup/bspstart.c:1.24 rtems/c/src/lib/libbsp/powerpc/ep1a/startup/bspstart.c:1.25
--- rtems/c/src/lib/libbsp/powerpc/ep1a/startup/bspstart.c:1.24 Sun Nov 29 22:25:26 2009
+++ rtems/c/src/lib/libbsp/powerpc/ep1a/startup/bspstart.c Fri Feb 11 06:44:30 2011
</font><font color='#997700'>@@ -184,18 +184,18 @@
</font> unsigned int get_eumbbar(void) {
register int a, e;
<font color='#880000'>- asm volatile( "lis %0,0xfec0; ori %0,%0,0x0000": "=r" (a) );
- asm volatile("sync");
</font><font color='#000088'>+ __asm__ volatile( "lis %0,0xfec0; ori %0,%0,0x0000": "=r" (a) );
+ __asm__ volatile("sync");
</font>
<font color='#880000'>- asm volatile("lis %0,0x8000; ori %0,%0,0x0078": "=r"(e) );
- asm volatile("stwbrx %0,0x0,%1": "=r"(e): "r"(a));
- asm volatile("sync");
</font><font color='#000088'>+ __asm__ volatile("lis %0,0x8000; ori %0,%0,0x0078": "=r"(e) );
+ __asm__ volatile("stwbrx %0,0x0,%1": "=r"(e): "r"(a));
+ __asm__ volatile("sync");
</font>
<font color='#880000'>- asm volatile("lis %0,0xfee0; ori %0,%0,0x0000": "=r" (a) );
- asm volatile("sync");
</font><font color='#000088'>+ __asm__ volatile("lis %0,0xfee0; ori %0,%0,0x0000": "=r" (a) );
+ __asm__ volatile("sync");
</font>
<font color='#880000'>- asm volatile("lwbrx %0,0x0,%1": "=r" (e): "r" (a));
- asm volatile("isync");
</font><font color='#000088'>+ __asm__ volatile("lwbrx %0,0x0,%1": "=r" (e): "r" (a));
+ __asm__ volatile("isync");
</font> return e;
}
</pre>
<p> </p>
<a name='cs22'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/cpuinit.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/gen83xx/ChangeLog.diff?r1=text&tr1=1.102&r2=text&tr2=1.103&diff_format=h">M</a></td><td width='1%'>1.103</td><td width='100%'>c/src/lib/libbsp/powerpc/gen83xx/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/gen83xx/startup/cpuinit.c.diff?r1=text&tr1=1.12&r2=text&tr2=1.13&diff_format=h">M</a></td><td width='1%'>1.13</td><td width='100%'>c/src/lib/libbsp/powerpc/gen83xx/startup/cpuinit.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/gen83xx/ChangeLog:1.102 rtems/c/src/lib/libbsp/powerpc/gen83xx/ChangeLog:1.103
--- rtems/c/src/lib/libbsp/powerpc/gen83xx/ChangeLog:1.102 Thu Feb 10 06:56:55 2011
+++ rtems/c/src/lib/libbsp/powerpc/gen83xx/ChangeLog Fri Feb 11 06:46:31 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * startup/cpuinit.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
* configure.ac: Added GEN83XX_ENABLE_INTERRUPT_NESTING BSP option.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/gen83xx/startup/cpuinit.c:1.12 rtems/c/src/lib/libbsp/powerpc/gen83xx/startup/cpuinit.c:1.13
--- rtems/c/src/lib/libbsp/powerpc/gen83xx/startup/cpuinit.c:1.12 Thu Dec 30 07:16:41 2010
+++ rtems/c/src/lib/libbsp/powerpc/gen83xx/startup/cpuinit.c Fri Feb 11 06:46:31 2011
</font><font color='#997700'>@@ -131,12 +131,12 @@
</font>
/* Clear segment registers */
for (i = 0;i < 16;i++) {
<font color='#880000'>- asm volatile( "mtsrin %0, %1\n" : : "r" (i * 0x1000), "r" (i << (31 - 3)));
</font><font color='#000088'>+ __asm__ volatile( "mtsrin %0, %1\n" : : "r" (i * 0x1000), "r" (i << (31 - 3)));
</font> }
/* Clear TLBs */
for (i = 0;i < 32;i++) {
<font color='#880000'>- asm volatile( "tlbie %0\n" : : "r" (i << (31 - 19)));
</font><font color='#000088'>+ __asm__ volatile( "tlbie %0\n" : : "r" (i << (31 - 19)));
</font> }
}
</pre>
<p> </p>
<a name='cs23'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c, irq/irq.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog.diff?r1=text&tr1=1.174&r2=text&tr2=1.175&diff_format=h">M</a></td><td width='1%'>1.175</td><td width='100%'>c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mbx8xx/console/console.c.diff?r1=text&tr1=1.22&r2=text&tr2=1.23&diff_format=h">M</a></td><td width='1%'>1.23</td><td width='100%'>c/src/lib/libbsp/powerpc/mbx8xx/console/console.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c.diff?r1=text&tr1=1.18&r2=text&tr2=1.19&diff_format=h">M</a></td><td width='1%'>1.19</td><td width='100%'>c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog:1.174 rtems/c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog:1.175
--- rtems/c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog:1.174 Wed Feb 2 09:00:02 2011
+++ rtems/c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog Fri Feb 11 06:46:34 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * console/console.c, irq/irq.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mbx8xx/console/console.c:1.22 rtems/c/src/lib/libbsp/powerpc/mbx8xx/console/console.c:1.23
--- rtems/c/src/lib/libbsp/powerpc/mbx8xx/console/console.c:1.22 Tue Aug 3 09:16:36 2010
+++ rtems/c/src/lib/libbsp/powerpc/mbx8xx/console/console.c Fri Feb 11 06:46:34 2011
</font><font color='#997700'>@@ -174,7 +174,7 @@
</font> simask = m8xx.simask;
/* Check for a char in the input FIFO using .CIO_STAT */
<font color='#880000'>- asm volatile( "li 10,0x202\n\
</font><font color='#000088'>+ __asm__ volatile( "li 10,0x202\n\
</font> mr 3, %0\n\
mr 4, %1\n\
sc"
<font color='#997700'>@@ -186,7 +186,7 @@
</font> input_params.inbuf = &c;
input_params.nbytes_requested = 1;
<font color='#880000'>- asm volatile( "li 10,0x200 /* Code for .CIO_READ */\n\
</font><font color='#000088'>+ __asm__ volatile( "li 10,0x200 /* Code for .CIO_READ */\n\
</font> mr 3, %0 /* Address of input_params */\n\
mr 4, %1 /* Address of output_params */\n\
sc" /* Call EPPCBUG */
<font color='#997700'>@@ -284,7 +284,7 @@
</font> /* Wait for space in the output buffer */
do {
/* Check for space in the output FIFO */
<font color='#880000'>- asm volatile( "li 10,0x202 /* Code for .CIO_STAT */\n\
</font><font color='#000088'>+ __asm__ volatile( "li 10,0x202 /* Code for .CIO_STAT */\n\
</font> mr 3, %0 /* Address of input_params */\n\
mr 4, %1 /* Address of output_params */\n\
sc" /* Call EPPCBUG */
<font color='#997700'>@@ -298,7 +298,7 @@
</font> input_params.outbuf = &buf[i];
input_params.nbytes_to_output = len - i;
<font color='#880000'>- asm volatile( "li 10,0x201 /* Code for .CIO_WRITE */\n\
</font><font color='#000088'>+ __asm__ volatile( "li 10,0x201 /* Code for .CIO_WRITE */\n\
</font> mr 3, %0 /* Address of input_params */\n\
mr 4, %1 /* Address of output_params */\n\
sc" /* Call EPPCBUG */
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c:1.18 rtems/c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c:1.19
--- rtems/c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c:1.18 Fri Jan 28 14:29:51 2011
+++ rtems/c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c Fri Feb 11 06:46:34 2011
</font><font color='#997700'>@@ -222,7 +222,7 @@
</font> * make sure, that the masking operations in
* ICTL and MSR are executed in order
*/
<font color='#880000'>- asm volatile("sync":::"memory");
</font><font color='#000088'>+ __asm__ volatile("sync":::"memory");
</font>
_CPU_MSR_GET(msr);
new_msr = msr | MSR_EE;
<font color='#997700'>@@ -236,7 +236,7 @@
</font> * make sure, that the masking operations in
* ICTL and MSR are executed in order
*/
<font color='#880000'>- asm volatile("sync":::"memory");
</font><font color='#000088'>+ __asm__ volatile("sync":::"memory");
</font>
if (cpmIntr) {
irq -= BSP_CPM_IRQ_LOWEST_OFFSET;
</pre>
<p> </p>
<a name='cs24'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* network/smsc9218i.c, startup/bspstart.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/ChangeLog.diff?r1=text&tr1=1.63&r2=text&tr2=1.64&diff_format=h">M</a></td><td width='1%'>1.64</td><td width='100%'>c/src/lib/libbsp/powerpc/mpc55xxevb/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/network/smsc9218i.c.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>c/src/lib/libbsp/powerpc/mpc55xxevb/network/smsc9218i.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/bspstart.c.diff?r1=text&tr1=1.18&r2=text&tr2=1.19&diff_format=h">M</a></td><td width='1%'>1.19</td><td width='100%'>c/src/lib/libbsp/powerpc/mpc55xxevb/startup/bspstart.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/ChangeLog:1.63 rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/ChangeLog:1.64
--- rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/ChangeLog:1.63 Wed Feb 2 09:00:06 2011
+++ rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/ChangeLog Fri Feb 11 06:46:36 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * network/smsc9218i.c, startup/bspstart.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/network/smsc9218i.c:1.5 rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/network/smsc9218i.c:1.6
--- rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/network/smsc9218i.c:1.5 Thu May 20 09:19:41 2010
+++ rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/network/smsc9218i.c Fri Feb 11 06:46:36 2011
</font><font color='#997700'>@@ -920,7 +920,7 @@
</font> data_length
);
<font color='#880000'>- asm volatile ( "sync");
</font><font color='#000088'>+ __asm__ volatile ( "sync");
</font>
/* Remember fragement */
jc->fragment_table [c] = m;
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/bspstart.c:1.18 rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/bspstart.c:1.19
--- rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/bspstart.c:1.18 Mon Jan 31 09:49:13 2011
+++ rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/bspstart.c Fri Feb 11 06:46:36 2011
</font><font color='#997700'>@@ -547,7 +547,7 @@
</font> PPC_SET_SPECIAL_PURPOSE_REGISTER( FSL_EIS_MAS1, mmu_setup[i].MAS1.R);
PPC_SET_SPECIAL_PURPOSE_REGISTER( FSL_EIS_MAS2, mmu_setup[i].MAS2.R);
PPC_SET_SPECIAL_PURPOSE_REGISTER( FSL_EIS_MAS3, mmu_setup[i].MAS3.R);
<font color='#880000'>- asm volatile ("tlbwe");
</font><font color='#000088'>+ __asm__ volatile ("tlbwe");
</font> }
}
</pre>
<p> </p>
<a name='cs25'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* PCI_bus/PCI.c, console/console.c, include/bsp.h, include/tm27.h,
startup/Hwr_init.c, startup/bspstart.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/score603e/ChangeLog.diff?r1=text&tr1=1.185&r2=text&tr2=1.186&diff_format=h">M</a></td><td width='1%'>1.186</td><td width='100%'>c/src/lib/libbsp/powerpc/score603e/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/score603e/PCI_bus/PCI.c.diff?r1=text&tr1=1.10&r2=text&tr2=1.11&diff_format=h">M</a></td><td width='1%'>1.11</td><td width='100%'>c/src/lib/libbsp/powerpc/score603e/PCI_bus/PCI.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/score603e/console/console.c.diff?r1=text&tr1=1.18&r2=text&tr2=1.19&diff_format=h">M</a></td><td width='1%'>1.19</td><td width='100%'>c/src/lib/libbsp/powerpc/score603e/console/console.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/score603e/include/bsp.h.diff?r1=text&tr1=1.32&r2=text&tr2=1.33&diff_format=h">M</a></td><td width='1%'>1.33</td><td width='100%'>c/src/lib/libbsp/powerpc/score603e/include/bsp.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/score603e/include/tm27.h.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>c/src/lib/libbsp/powerpc/score603e/include/tm27.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/score603e/startup/Hwr_init.c.diff?r1=text&tr1=1.11&r2=text&tr2=1.12&diff_format=h">M</a></td><td width='1%'>1.12</td><td width='100%'>c/src/lib/libbsp/powerpc/score603e/startup/Hwr_init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c.diff?r1=text&tr1=1.36&r2=text&tr2=1.37&diff_format=h">M</a></td><td width='1%'>1.37</td><td width='100%'>c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/score603e/ChangeLog:1.185 rtems/c/src/lib/libbsp/powerpc/score603e/ChangeLog:1.186
--- rtems/c/src/lib/libbsp/powerpc/score603e/ChangeLog:1.185 Wed Feb 9 02:29:24 2011
+++ rtems/c/src/lib/libbsp/powerpc/score603e/ChangeLog Fri Feb 11 06:47:19 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * PCI_bus/PCI.c, console/console.c, include/bsp.h, include/tm27.h,
+ startup/Hwr_init.c, startup/bspstart.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/score603e/PCI_bus/PCI.c:1.10 rtems/c/src/lib/libbsp/powerpc/score603e/PCI_bus/PCI.c:1.11
--- rtems/c/src/lib/libbsp/powerpc/score603e/PCI_bus/PCI.c:1.10 Tue May 5 11:24:03 2009
+++ rtems/c/src/lib/libbsp/powerpc/score603e/PCI_bus/PCI.c Fri Feb 11 06:47:19 2011
</font><font color='#997700'>@@ -29,8 +29,8 @@
</font> */
void PCI_bus_delay (void)
{
<font color='#880000'>- asm(" nop");
- asm(" nop");
</font><font color='#000088'>+ __asm__ (" nop");
+ __asm__ (" nop");
</font> }
/*
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/score603e/console/console.c:1.18 rtems/c/src/lib/libbsp/powerpc/score603e/console/console.c:1.19
--- rtems/c/src/lib/libbsp/powerpc/score603e/console/console.c:1.18 Sun Aug 15 18:31:05 2010
+++ rtems/c/src/lib/libbsp/powerpc/score603e/console/console.c Fri Feb 11 06:47:19 2011
</font><font color='#997700'>@@ -415,13 +415,13 @@
</font> if ('\n'==c){
rtems_interrupt_disable( isrlevel );
outbyte_polled_85c30( csr, '\r' );
<font color='#880000'>- asm volatile("isync");
</font><font color='#000088'>+ __asm__ volatile("isync");
</font> rtems_interrupt_enable( isrlevel );
}
rtems_interrupt_disable( isrlevel );
outbyte_polled_85c30( csr, c );
<font color='#880000'>- asm volatile("isync");
</font><font color='#000088'>+ __asm__ volatile("isync");
</font> rtems_interrupt_enable( isrlevel );
}
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/score603e/include/bsp.h:1.32 rtems/c/src/lib/libbsp/powerpc/score603e/include/bsp.h:1.33
--- rtems/c/src/lib/libbsp/powerpc/score603e/include/bsp.h:1.32 Sun Nov 29 22:33:54 2009
+++ rtems/c/src/lib/libbsp/powerpc/score603e/include/bsp.h Fri Feb 11 06:47:19 2011
</font><font color='#997700'>@@ -67,7 +67,7 @@
</font> SCORE603E_BRD_FLASH_DISABLE_MASK)
#define Processor_Synchronize() \
<font color='#880000'>- asm volatile(" eieio ")
</font><font color='#000088'>+ __asm__ volatile(" eieio ")
</font>
/* Constants */
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/score603e/include/tm27.h:1.5 rtems/c/src/lib/libbsp/powerpc/score603e/include/tm27.h:1.6
--- rtems/c/src/lib/libbsp/powerpc/score603e/include/tm27.h:1.5 Tue May 5 11:24:04 2009
+++ rtems/c/src/lib/libbsp/powerpc/score603e/include/tm27.h Fri Feb 11 06:47:19 2011
</font><font color='#997700'>@@ -45,22 +45,22 @@
</font> #define Cause_tm27_intr() \
do { \
uint32_t _clicks = 8; \
<font color='#880000'>- asm volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
</font><font color='#000088'>+ __asm__ volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
</font> } while (0)
#define Clear_tm27_intr() \
do { \
uint32_t _clicks = 0xffffffff; \
<font color='#880000'>- asm volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
</font><font color='#000088'>+ __asm__ volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
</font> } while (0)
#define Lower_tm27_intr() \
do { \
uint32_t _msr = 0; \
_ISR_Set_level( 0 ); \
<font color='#880000'>- asm volatile( "mfmsr %0 ;" : "=r" (_msr) : "r" (_msr) ); \
</font><font color='#000088'>+ __asm__ volatile( "mfmsr %0 ;" : "=r" (_msr) : "r" (_msr) ); \
</font> _msr |= 0x8002; \
<font color='#880000'>- asm volatile( "mtmsr %0 ;" : "=r" (_msr) : "r" (_msr) ); \
</font><font color='#000088'>+ __asm__ volatile( "mtmsr %0 ;" : "=r" (_msr) : "r" (_msr) ); \
</font> } while (0)
#endif
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/score603e/startup/Hwr_init.c:1.11 rtems/c/src/lib/libbsp/powerpc/score603e/startup/Hwr_init.c:1.12
--- rtems/c/src/lib/libbsp/powerpc/score603e/startup/Hwr_init.c:1.11 Tue May 5 11:24:04 2009
+++ rtems/c/src/lib/libbsp/powerpc/score603e/startup/Hwr_init.c Fri Feb 11 06:47:19 2011
</font><font color='#997700'>@@ -94,7 +94,7 @@
</font> #define PPC_Get_HID0( _value ) \
do { \
_value = 0; /* to avoid warnings */ \
<font color='#880000'>- asm volatile( \
</font><font color='#000088'>+ __asm__ volatile( \
</font> "mfspr %0, 0x3f0;" /* get HID0 */ \
"isync" \
: "=r" (_value) \
<font color='#997700'>@@ -104,7 +104,7 @@
</font>
#define PPC_Set_HID0( _value ) \
do { \
<font color='#880000'>- asm volatile( \
</font><font color='#000088'>+ __asm__ volatile( \
</font> "isync;" \
"mtspr 0x3f0, %0;" /* load HID0 */ \
"isync" \
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c:1.36 rtems/c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c:1.37
--- rtems/c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c:1.36 Wed Apr 28 15:25:23 2010
+++ rtems/c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c Fri Feb 11 06:47:19 2011
</font><font color='#997700'>@@ -213,7 +213,7 @@
</font>
msr_value = 0x2030;
_CPU_MSR_SET( msr_value );
<font color='#880000'>- asm volatile("sync; isync");
</font><font color='#000088'>+ __asm__ volatile("sync; isync");
</font>
/*
* initialize the device driver parameters
</pre>
<p> </p>
<a name='cs26'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/tm27.h, irq/irq.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog.diff?r1=text&tr1=1.154&r2=text&tr2=1.155&diff_format=h">M</a></td><td width='1%'>1.155</td><td width='100%'>c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mpc8260ads/include/tm27.h.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>c/src/lib/libbsp/powerpc/mpc8260ads/include/tm27.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mpc8260ads/irq/irq.c.diff?r1=text&tr1=1.22&r2=text&tr2=1.23&diff_format=h">M</a></td><td width='1%'>1.23</td><td width='100%'>c/src/lib/libbsp/powerpc/mpc8260ads/irq/irq.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog:1.154 rtems/c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog:1.155
--- rtems/c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog:1.154 Wed Feb 2 09:00:08 2011
+++ rtems/c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog Fri Feb 11 06:48:37 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * include/tm27.h, irq/irq.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mpc8260ads/include/tm27.h:1.3 rtems/c/src/lib/libbsp/powerpc/mpc8260ads/include/tm27.h:1.4
--- rtems/c/src/lib/libbsp/powerpc/mpc8260ads/include/tm27.h:1.3 Tue Sep 30 10:47:34 2008
+++ rtems/c/src/lib/libbsp/powerpc/mpc8260ads/include/tm27.h Fri Feb 11 06:48:37 2011
</font><font color='#997700'>@@ -35,7 +35,7 @@
</font> BSP_install_rtems_irq_handler (&scIrqData); \
} while(0)
<font color='#880000'>-#define Cause_tm27_intr() asm volatile ("sc")
</font><font color='#000088'>+#define Cause_tm27_intr() __asm__ volatile ("sc")
</font>
#define Clear_tm27_intr() /* empty */
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mpc8260ads/irq/irq.c:1.22 rtems/c/src/lib/libbsp/powerpc/mpc8260ads/irq/irq.c:1.23
--- rtems/c/src/lib/libbsp/powerpc/mpc8260ads/irq/irq.c:1.22 Fri Jan 28 14:29:51 2011
+++ rtems/c/src/lib/libbsp/powerpc/mpc8260ads/irq/irq.c Fri Feb 11 06:48:37 2011
</font><font color='#997700'>@@ -278,7 +278,7 @@
</font> * make sure, that the masking operations in
* ICTL and MSR are executed in order
*/
<font color='#880000'>- asm volatile("sync":::"memory");
</font><font color='#000088'>+ __asm__ volatile("sync":::"memory");
</font>
/* re-enable external exceptions */
_CPU_MSR_GET(msr);
<font color='#997700'>@@ -295,7 +295,7 @@
</font> * make sure, that the masking operations in
* ICTL and MSR are executed in order
*/
<font color='#880000'>- asm volatile("sync":::"memory");
</font><font color='#000088'>+ __asm__ volatile("sync":::"memory");
</font>
/* restore interrupt masks */
m8260.simr_h = old_simr_h;
</pre>
<p> </p>
<a name='cs27'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* network/tsec.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme3100/ChangeLog.diff?r1=text&tr1=1.53&r2=text&tr2=1.54&diff_format=h">M</a></td><td width='1%'>1.54</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme3100/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme3100/network/tsec.c.diff?r1=text&tr1=1.11&r2=text&tr2=1.12&diff_format=h">M</a></td><td width='1%'>1.12</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme3100/network/tsec.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme3100/ChangeLog:1.53 rtems/c/src/lib/libbsp/powerpc/mvme3100/ChangeLog:1.54
--- rtems/c/src/lib/libbsp/powerpc/mvme3100/ChangeLog:1.53 Wed Feb 2 09:00:10 2011
+++ rtems/c/src/lib/libbsp/powerpc/mvme3100/ChangeLog Fri Feb 11 06:48:40 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * network/tsec.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme3100/network/tsec.c:1.11 rtems/c/src/lib/libbsp/powerpc/mvme3100/network/tsec.c:1.12
--- rtems/c/src/lib/libbsp/powerpc/mvme3100/network/tsec.c:1.11 Tue Feb 9 19:59:57 2010
+++ rtems/c/src/lib/libbsp/powerpc/mvme3100/network/tsec.c Fri Feb 11 06:48:40 2011
</font><font color='#997700'>@@ -442,7 +442,7 @@
</font> asm volatile("sync":::"memory");
}
<font color='#880000'>-#define EIEIO(mem) do { asm volatile("eieio"); } while (0)
</font><font color='#000088'>+#define EIEIO(mem) do { __asm__ volatile("eieio"); } while (0)
</font>
#else
#error "memory barrier not implemented for your CPU architecture"
</pre>
<p> </p>
<a name='cs28'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/bsp.h, include/tm27.h, startup/bspstart.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/psim/ChangeLog.diff?r1=text&tr1=1.182&r2=text&tr2=1.183&diff_format=h">M</a></td><td width='1%'>1.183</td><td width='100%'>c/src/lib/libbsp/powerpc/psim/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/psim/include/bsp.h.diff?r1=text&tr1=1.27&r2=text&tr2=1.28&diff_format=h">M</a></td><td width='1%'>1.28</td><td width='100%'>c/src/lib/libbsp/powerpc/psim/include/bsp.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/psim/include/tm27.h.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>c/src/lib/libbsp/powerpc/psim/include/tm27.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/psim/startup/bspstart.c.diff?r1=text&tr1=1.41&r2=text&tr2=1.42&diff_format=h">M</a></td><td width='1%'>1.42</td><td width='100%'>c/src/lib/libbsp/powerpc/psim/startup/bspstart.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/psim/ChangeLog:1.182 rtems/c/src/lib/libbsp/powerpc/psim/ChangeLog:1.183
--- rtems/c/src/lib/libbsp/powerpc/psim/ChangeLog:1.182 Wed Feb 2 09:00:13 2011
+++ rtems/c/src/lib/libbsp/powerpc/psim/ChangeLog Fri Feb 11 06:49:35 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * include/bsp.h, include/tm27.h, startup/bspstart.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/psim/include/bsp.h:1.27 rtems/c/src/lib/libbsp/powerpc/psim/include/bsp.h:1.28
--- rtems/c/src/lib/libbsp/powerpc/psim/include/bsp.h:1.27 Fri Jan 28 14:29:51 2011
+++ rtems/c/src/lib/libbsp/powerpc/psim/include/bsp.h Fri Feb 11 06:49:35 2011
</font><font color='#997700'>@@ -65,7 +65,7 @@
</font>
/* macros */
#define Processor_Synchronize() \
<font color='#880000'>- asm(" eieio ")
</font><font color='#000088'>+ __asm__ (" eieio ")
</font>
struct rtems_bsdnet_ifconfig;
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/psim/include/tm27.h:1.4 rtems/c/src/lib/libbsp/powerpc/psim/include/tm27.h:1.5
--- rtems/c/src/lib/libbsp/powerpc/psim/include/tm27.h:1.4 Wed May 11 07:31:26 2005
+++ rtems/c/src/lib/libbsp/powerpc/psim/include/tm27.h Fri Feb 11 06:49:35 2011
</font><font color='#997700'>@@ -42,23 +42,23 @@
</font> #define Cause_tm27_intr() \
do { \
uint32_t _clicks = 1; \
<font color='#880000'>- asm volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
</font><font color='#000088'>+ __asm__ volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
</font> } while (0)
#define Clear_tm27_intr() \
do { \
uint32_t _clicks = 0xffffffff; \
<font color='#880000'>- asm volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
</font><font color='#000088'>+ __asm__ volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
</font> } while (0)
#define Lower_tm27_intr() \
do { \
uint32_t _msr = 0; \
_ISR_Set_level( 0 ); \
<font color='#880000'>- asm volatile( "mfmsr %0 ;" : "=r" (_msr) : "r" (_msr) ); \
</font><font color='#000088'>+ __asm__ volatile( "mfmsr %0 ;" : "=r" (_msr) : "r" (_msr) ); \
</font> _msr |= 0x8002; \
<font color='#880000'>- asm volatile( "mtmsr %0 ;" : "=r" (_msr) : "r" (_msr) ); \
</font><font color='#000088'>+ __asm__ volatile( "mtmsr %0 ;" : "=r" (_msr) : "r" (_msr) ); \
</font> } while (0)
#endif
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/psim/startup/bspstart.c:1.41 rtems/c/src/lib/libbsp/powerpc/psim/startup/bspstart.c:1.42
--- rtems/c/src/lib/libbsp/powerpc/psim/startup/bspstart.c:1.41 Sun Nov 15 16:37:19 2009
+++ rtems/c/src/lib/libbsp/powerpc/psim/startup/bspstart.c Fri Feb 11 06:49:35 2011
</font><font color='#997700'>@@ -137,6 +137,6 @@
</font> setdbat(2, 0xc<<24, 0xc<<24, 1<<24, IO_PAGE);
_write_MSR(_read_MSR() | MSR_DR | MSR_IR);
<font color='#880000'>- asm volatile("sync; isync");
</font><font color='#000088'>+ __asm__ volatile("sync; isync");
</font>
}
</pre>
<p> </p>
<a name='cs29'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/bspstart.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/genmcf548x/ChangeLog.diff?r1=text&tr1=1.44&r2=text&tr2=1.45&diff_format=h">M</a></td><td width='1%'>1.45</td><td width='100%'>c/src/lib/libbsp/m68k/genmcf548x/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/genmcf548x/startup/bspstart.c.diff?r1=text&tr1=1.7&r2=text&tr2=1.8&diff_format=h">M</a></td><td width='1%'>1.8</td><td width='100%'>c/src/lib/libbsp/m68k/genmcf548x/startup/bspstart.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/qemuppc/ChangeLog.diff?r1=text&tr1=1.18&r2=text&tr2=1.19&diff_format=h">M</a></td><td width='1%'>1.19</td><td width='100%'>c/src/lib/libbsp/powerpc/qemuppc/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/qemuppc/startup/bspstart.c.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>c/src/lib/libbsp/powerpc/qemuppc/startup/bspstart.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/genmcf548x/ChangeLog:1.44 rtems/c/src/lib/libbsp/m68k/genmcf548x/ChangeLog:1.45
--- rtems/c/src/lib/libbsp/m68k/genmcf548x/ChangeLog:1.44 Wed Feb 9 06:05:07 2011
+++ rtems/c/src/lib/libbsp/m68k/genmcf548x/ChangeLog Fri Feb 11 06:30:11 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * startup/bspstart.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/genmcf548x/startup/bspstart.c:1.7 rtems/c/src/lib/libbsp/m68k/genmcf548x/startup/bspstart.c:1.8
--- rtems/c/src/lib/libbsp/m68k/genmcf548x/startup/bspstart.c:1.7 Thu Feb 25 05:01:35 2010
+++ rtems/c/src/lib/libbsp/m68k/genmcf548x/startup/bspstart.c Fri Feb 11 06:30:12 2011
</font><font color='#997700'>@@ -66,8 +66,8 @@
</font> /*
* CPU-space access
*/
<font color='#880000'>-#define m68k_set_acr2(_acr2) asm volatile ("movec %0,#0x0005" : : "d" (_acr2))
-#define m68k_set_acr3(_acr3) asm volatile ("movec %0,#0x0007" : : "d" (_acr3))
</font><font color='#000088'>+#define m68k_set_acr2(_acr2) __asm__ volatile ("movec %0,#0x0005" : : "d" (_acr2))
+#define m68k_set_acr3(_acr3) __asm__ volatile ("movec %0,#0x0007" : : "d" (_acr3))
</font>
/*
* Set initial cacr mode, mainly enables branch/intruction/data cache and
<font color='#997700'>@@ -160,10 +160,10 @@
</font> {
uint32_t a = (uint32_t) addr & ~0x3;
<font color='#880000'>- asm volatile ("cpushl %%ic,(%0)" :: "a" (a | 0x0));
- asm volatile ("cpushl %%ic,(%0)" :: "a" (a | 0x1));
- asm volatile ("cpushl %%ic,(%0)" :: "a" (a | 0x2));
- asm volatile ("cpushl %%ic,(%0)" :: "a" (a | 0x3));
</font><font color='#000088'>+ __asm__ volatile ("cpushl %%ic,(%0)" :: "a" (a | 0x0));
+ __asm__ volatile ("cpushl %%ic,(%0)" :: "a" (a | 0x1));
+ __asm__ volatile ("cpushl %%ic,(%0)" :: "a" (a | 0x2));
+ __asm__ volatile ("cpushl %%ic,(%0)" :: "a" (a | 0x3));
</font> }
void _CPU_cache_enable_data(void)
<font color='#997700'>@@ -185,20 +185,20 @@
</font> {
uint32_t a = (uint32_t) addr & ~0x3;
<font color='#880000'>- asm volatile ("cpushl %%dc,(%0)" :: "a" (a | 0x0));
- asm volatile ("cpushl %%dc,(%0)" :: "a" (a | 0x1));
- asm volatile ("cpushl %%dc,(%0)" :: "a" (a | 0x2));
- asm volatile ("cpushl %%dc,(%0)" :: "a" (a | 0x3));
</font><font color='#000088'>+ __asm__ volatile ("cpushl %%dc,(%0)" :: "a" (a | 0x0));
+ __asm__ volatile ("cpushl %%dc,(%0)" :: "a" (a | 0x1));
+ __asm__ volatile ("cpushl %%dc,(%0)" :: "a" (a | 0x2));
+ __asm__ volatile ("cpushl %%dc,(%0)" :: "a" (a | 0x3));
</font> }
void _CPU_cache_flush_1_data_line( const void *addr)
{
uint32_t a = (uint32_t) addr & ~0x3;
<font color='#880000'>- asm volatile ("cpushl %%dc,(%0)" :: "a" (a | 0x0));
- asm volatile ("cpushl %%dc,(%0)" :: "a" (a | 0x1));
- asm volatile ("cpushl %%dc,(%0)" :: "a" (a | 0x2));
- asm volatile ("cpushl %%dc,(%0)" :: "a" (a | 0x3));
</font><font color='#000088'>+ __asm__ volatile ("cpushl %%dc,(%0)" :: "a" (a | 0x0));
+ __asm__ volatile ("cpushl %%dc,(%0)" :: "a" (a | 0x1));
+ __asm__ volatile ("cpushl %%dc,(%0)" :: "a" (a | 0x2));
+ __asm__ volatile ("cpushl %%dc,(%0)" :: "a" (a | 0x3));
</font> }
void _CPU_cache_flush_entire_data( void)
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/qemuppc/ChangeLog:1.18 rtems/c/src/lib/libbsp/powerpc/qemuppc/ChangeLog:1.19
--- rtems/c/src/lib/libbsp/powerpc/qemuppc/ChangeLog:1.18 Wed Feb 2 09:00:16 2011
+++ rtems/c/src/lib/libbsp/powerpc/qemuppc/ChangeLog Fri Feb 11 06:49:36 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * startup/bspstart.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/qemuppc/startup/bspstart.c:1.4 rtems/c/src/lib/libbsp/powerpc/qemuppc/startup/bspstart.c:1.5
--- rtems/c/src/lib/libbsp/powerpc/qemuppc/startup/bspstart.c:1.4 Sun Nov 29 22:34:19 2009
+++ rtems/c/src/lib/libbsp/powerpc/qemuppc/startup/bspstart.c Fri Feb 11 06:49:36 2011
</font><font color='#997700'>@@ -124,6 +124,6 @@
</font> setdbat(2, 0xc<<24, 0xc<<24, 1<<24, IO_PAGE);
_write_MSR(_read_MSR() | MSR_DR | MSR_IR);
<font color='#880000'>- asm volatile("sync; isync");
</font><font color='#000088'>+ __asm__ volatile("sync; isync");
</font> #endif
}
</pre>
<p> </p>
<a name='cs30'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/bsp.h, include/tm27.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog.diff?r1=text&tr1=1.126&r2=text&tr2=1.127&diff_format=h">M</a></td><td width='1%'>1.127</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/include/bsp.h.diff?r1=text&tr1=1.20&r2=text&tr2=1.21&diff_format=h">M</a></td><td width='1%'>1.21</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/include/bsp.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/include/tm27.h.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/include/tm27.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog:1.126 rtems/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog:1.127
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog:1.126 Wed Feb 2 09:00:11 2011
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog Fri Feb 11 06:50:48 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * include/bsp.h, include/tm27.h:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/include/bsp.h:1.20 rtems/c/src/lib/libbsp/powerpc/mvme5500/include/bsp.h:1.21
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/include/bsp.h:1.20 Fri Jan 28 14:29:51 2011
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/include/bsp.h Fri Feb 11 06:50:48 2011
</font><font color='#997700'>@@ -168,20 +168,20 @@
</font>
static inline void lwmemBar()
{
<font color='#880000'>- asm volatile("lwsync":::"memory");
</font><font color='#000088'>+ __asm__ volatile("lwsync":::"memory");
</font> }
static inline void io_flush()
{
<font color='#880000'>- asm volatile("isync":::"memory");
</font><font color='#000088'>+ __asm__ volatile("isync":::"memory");
</font> }
static inline void memBar()
{
<font color='#880000'>- asm volatile("sync":::"memory");
</font><font color='#000088'>+ __asm__ volatile("sync":::"memory");
</font> }
static inline void ioBar()
{
<font color='#880000'>- asm volatile("eieio":::"memory");
</font><font color='#000088'>+ __asm__ volatile("eieio":::"memory");
</font> }
#endif
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/include/tm27.h:1.2 rtems/c/src/lib/libbsp/powerpc/mvme5500/include/tm27.h:1.3
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/include/tm27.h:1.2 Fri May 20 14:22:26 2005
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/include/tm27.h Fri Feb 11 06:50:48 2011
</font><font color='#997700'>@@ -42,23 +42,23 @@
</font> #define Cause_tm27_intr() \
do { \
uint32_t _clicks = 1; \
<font color='#880000'>- asm volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
</font><font color='#000088'>+ __asm__ volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
</font> } while (0)
#define Clear_tm27_intr() \
do { \
uint32_t _clicks = 0xffffffff; \
<font color='#880000'>- asm volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
</font><font color='#000088'>+ __asm__ volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
</font> } while (0)
#define Lower_tm27_intr() \
do { \
uint32_t _msr = 0; \
_ISR_Set_level( 0 ); \
<font color='#880000'>- asm volatile( "mfmsr %0 ;" : "=r" (_msr) : "r" (_msr) ); \
</font><font color='#000088'>+ __asm__ volatile( "mfmsr %0 ;" : "=r" (_msr) : "r" (_msr) ); \
</font> _msr |= 0x8002; \
<font color='#880000'>- asm volatile( "mtmsr %0 ;" : "=r" (_msr) : "r" (_msr) ); \
</font><font color='#000088'>+ __asm__ volatile( "mtmsr %0 ;" : "=r" (_msr) : "r" (_msr) ); \
</font> } while (0)
#endif
</pre>
<p> </p>
<a name='cs31'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/bspstart.c, timer/timer.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/mips/csb350/ChangeLog.diff?r1=text&tr1=1.66&r2=text&tr2=1.67&diff_format=h">M</a></td><td width='1%'>1.67</td><td width='100%'>c/src/lib/libbsp/mips/csb350/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/mips/csb350/startup/bspstart.c.diff?r1=text&tr1=1.12&r2=text&tr2=1.13&diff_format=h">M</a></td><td width='1%'>1.13</td><td width='100%'>c/src/lib/libbsp/mips/csb350/startup/bspstart.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/mips/csb350/timer/timer.c.diff?r1=text&tr1=1.10&r2=text&tr2=1.11&diff_format=h">M</a></td><td width='1%'>1.11</td><td width='100%'>c/src/lib/libbsp/mips/csb350/timer/timer.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/mips/csb350/ChangeLog:1.66 rtems/c/src/lib/libbsp/mips/csb350/ChangeLog:1.67
--- rtems/c/src/lib/libbsp/mips/csb350/ChangeLog:1.66 Wed Feb 9 00:41:40 2011
+++ rtems/c/src/lib/libbsp/mips/csb350/ChangeLog Fri Feb 11 06:53:17 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * startup/bspstart.c, timer/timer.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/mips/csb350/startup/bspstart.c:1.12 rtems/c/src/lib/libbsp/mips/csb350/startup/bspstart.c:1.13
--- rtems/c/src/lib/libbsp/mips/csb350/startup/bspstart.c:1.12 Sun Nov 29 09:27:06 2009
+++ rtems/c/src/lib/libbsp/mips/csb350/startup/bspstart.c Fri Feb 11 06:53:17 2011
</font><font color='#997700'>@@ -34,7 +34,7 @@
</font>
mips_set_sr( 0x7f00 ); /* all interrupts unmasked but globally off */
/* depend on the IRC to take care of things */
<font color='#880000'>- asm volatile ("mtc0 %0, $11\n" :: "r" (compare));
</font><font color='#000088'>+ __asm__ volatile ("mtc0 %0, $11\n" :: "r" (compare));
</font> mips_install_isr_entries();
}
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/mips/csb350/timer/timer.c:1.10 rtems/c/src/lib/libbsp/mips/csb350/timer/timer.c:1.11
--- rtems/c/src/lib/libbsp/mips/csb350/timer/timer.c:1.10 Wed Feb 9 00:41:40 2011
+++ rtems/c/src/lib/libbsp/mips/csb350/timer/timer.c Fri Feb 11 06:53:17 2011
</font><font color='#997700'>@@ -22,7 +22,7 @@
</font>
void benchmark_timer_initialize(void)
{
<font color='#880000'>- asm volatile ("mfc0 %0, $9\n" : "=r" (tstart));
</font><font color='#000088'>+ __asm__ volatile ("mfc0 %0, $9\n" : "=r" (tstart));
</font> /* tick time in picooseconds */
}
<font color='#997700'>@@ -36,7 +36,7 @@
</font> uint32_t total;
uint32_t cnt;
<font color='#880000'>- asm volatile ("mfc0 %0, $9\n" : "=r" (cnt));
</font><font color='#000088'>+ __asm__ volatile ("mfc0 %0, $9\n" : "=r" (cnt));
</font>
total = cnt - tstart;
total = (total * 1000) / 396; /* convert to nanoseconds */
</pre>
<p> </p>
<a name='cs32'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/tm27.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/mips/jmr3904/ChangeLog.diff?r1=text&tr1=1.128&r2=text&tr2=1.129&diff_format=h">M</a></td><td width='1%'>1.129</td><td width='100%'>c/src/lib/libbsp/mips/jmr3904/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/mips/jmr3904/include/tm27.h.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>c/src/lib/libbsp/mips/jmr3904/include/tm27.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/gen5200/ChangeLog.diff?r1=text&tr1=1.153&r2=text&tr2=1.154&diff_format=h">M</a></td><td width='1%'>1.154</td><td width='100%'>c/src/lib/libbsp/powerpc/gen5200/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/gen5200/include/tm27.h.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>c/src/lib/libbsp/powerpc/gen5200/include/tm27.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/ChangeLog.diff?r1=text&tr1=1.157&r2=text&tr2=1.158&diff_format=h">M</a></td><td width='1%'>1.158</td><td width='100%'>c/src/lib/libbsp/powerpc/motorola_powerpc/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/include/tm27.h.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>c/src/lib/libbsp/powerpc/motorola_powerpc/include/tm27.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/mips/jmr3904/ChangeLog:1.128 rtems/c/src/lib/libbsp/mips/jmr3904/ChangeLog:1.129
--- rtems/c/src/lib/libbsp/mips/jmr3904/ChangeLog:1.128 Wed Feb 9 00:41:40 2011
+++ rtems/c/src/lib/libbsp/mips/jmr3904/ChangeLog Fri Feb 11 06:53:18 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * include/tm27.h:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/mips/jmr3904/include/tm27.h:1.2 rtems/c/src/lib/libbsp/mips/jmr3904/include/tm27.h:1.3
--- rtems/c/src/lib/libbsp/mips/jmr3904/include/tm27.h:1.2 Thu Apr 22 23:47:37 2004
+++ rtems/c/src/lib/libbsp/mips/jmr3904/include/tm27.h Fri Feb 11 06:53:18 2011
</font><font color='#997700'>@@ -26,7 +26,7 @@
</font> (void) set_vector( handler, TX3904_IRQ_SOFTWARE_1, 1 ); \
#define Cause_tm27_intr() \
<font color='#880000'>- asm volatile ( "syscall 0x01" : : );
</font><font color='#000088'>+ __asm__ volatile ( "syscall 0x01" : : );
</font>
#define CLOCK_VECTOR TX3904_IRQ_TMR0
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/gen5200/ChangeLog:1.153 rtems/c/src/lib/libbsp/powerpc/gen5200/ChangeLog:1.154
--- rtems/c/src/lib/libbsp/powerpc/gen5200/ChangeLog:1.153 Wed Feb 2 08:59:57 2011
+++ rtems/c/src/lib/libbsp/powerpc/gen5200/ChangeLog Fri Feb 11 06:46:30 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * include/tm27.h:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/gen5200/include/tm27.h:1.2 rtems/c/src/lib/libbsp/powerpc/gen5200/include/tm27.h:1.3
--- rtems/c/src/lib/libbsp/powerpc/gen5200/include/tm27.h:1.2 Sun Jul 9 05:05:27 2006
+++ rtems/c/src/lib/libbsp/powerpc/gen5200/include/tm27.h Fri Feb 11 06:46:30 2011
</font><font color='#997700'>@@ -42,22 +42,22 @@
</font> #define Cause_tm27_intr() \
do { \
uint32_t _clicks = 8; \
<font color='#880000'>- asm volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
</font><font color='#000088'>+ __asm__ volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
</font> } while (0)
#define Clear_tm27_intr() \
do { \
uint32_t _clicks = 0xffffffff; \
<font color='#880000'>- asm volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
</font><font color='#000088'>+ __asm__ volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
</font> } while (0)
#define Lower_tm27_intr() \
do { \
uint32_t _msr = 0; \
_ISR_Set_level( 0 ); \
<font color='#880000'>- asm volatile( "mfmsr %0 ;" : "=r" (_msr) : "r" (_msr) ); \
</font><font color='#000088'>+ __asm__ volatile( "mfmsr %0 ;" : "=r" (_msr) : "r" (_msr) ); \
</font> _msr |= 0x8002; \
<font color='#880000'>- asm volatile( "mtmsr %0 ;" : "=r" (_msr) : "r" (_msr) ); \
</font><font color='#000088'>+ __asm__ volatile( "mtmsr %0 ;" : "=r" (_msr) : "r" (_msr) ); \
</font> } while (0)
#endif
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/ChangeLog:1.157 rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/ChangeLog:1.158
--- rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/ChangeLog:1.157 Wed Feb 2 09:00:04 2011
+++ rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/ChangeLog Fri Feb 11 06:50:46 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * include/tm27.h:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/include/tm27.h:1.3 rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/include/tm27.h:1.4
--- rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/include/tm27.h:1.3 Sat May 22 21:56:41 2004
+++ rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/include/tm27.h Fri Feb 11 06:50:46 2011
</font><font color='#997700'>@@ -41,22 +41,22 @@
</font> #define Cause_tm27_intr() \
do { \
uint32_t _clicks = 8; \
<font color='#880000'>- asm volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
</font><font color='#000088'>+ __asm__ volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
</font> } while (0)
#define Clear_tm27_intr() \
do { \
uint32_t _clicks = 0xffffffff; \
<font color='#880000'>- asm volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
</font><font color='#000088'>+ __asm__ volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
</font> } while (0)
#define Lower_tm27_intr() \
do { \
uint32_t _msr = 0; \
_ISR_Set_level( 0 ); \
<font color='#880000'>- asm volatile( "mfmsr %0 ;" : "=r" (_msr) : "r" (_msr) ); \
</font><font color='#000088'>+ __asm__ volatile( "mfmsr %0 ;" : "=r" (_msr) : "r" (_msr) ); \
</font> _msr |= 0x8002; \
<font color='#880000'>- asm volatile( "mtmsr %0 ;" : "=r" (_msr) : "r" (_msr) ); \
</font><font color='#000088'>+ __asm__ volatile( "mtmsr %0 ;" : "=r" (_msr) : "r" (_msr) ); \
</font> } while (0)
#endif
</pre>
<p> </p>
<a name='cs33'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* shmsupp/lock.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mvme147s/ChangeLog.diff?r1=text&tr1=1.101&r2=text&tr2=1.102&diff_format=h">M</a></td><td width='1%'>1.102</td><td width='100%'>c/src/lib/libbsp/m68k/mvme147s/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mvme147s/shmsupp/lock.c.diff?r1=text&tr1=1.9&r2=text&tr2=1.10&diff_format=h">M</a></td><td width='1%'>1.10</td><td width='100%'>c/src/lib/libbsp/m68k/mvme147s/shmsupp/lock.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/nios2/nios2_iss/ChangeLog.diff?r1=text&tr1=1.47&r2=text&tr2=1.48&diff_format=h">M</a></td><td width='1%'>1.48</td><td width='100%'>c/src/lib/libbsp/nios2/nios2_iss/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/nios2/nios2_iss/shmsupp/lock.c.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>c/src/lib/libbsp/nios2/nios2_iss/shmsupp/lock.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/no_cpu/no_bsp/ChangeLog.diff?r1=text&tr1=1.90&r2=text&tr2=1.91&diff_format=h">M</a></td><td width='1%'>1.91</td><td width='100%'>c/src/lib/libbsp/no_cpu/no_bsp/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/no_cpu/no_bsp/shmsupp/lock.c.diff?r1=text&tr1=1.12&r2=text&tr2=1.13&diff_format=h">M</a></td><td width='1%'>1.13</td><td width='100%'>c/src/lib/libbsp/no_cpu/no_bsp/shmsupp/lock.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mvme147s/ChangeLog:1.101 rtems/c/src/lib/libbsp/m68k/mvme147s/ChangeLog:1.102
--- rtems/c/src/lib/libbsp/m68k/mvme147s/ChangeLog:1.101 Wed Feb 2 08:59:16 2011
+++ rtems/c/src/lib/libbsp/m68k/mvme147s/ChangeLog Fri Feb 11 06:37:53 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * shmsupp/lock.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mvme147s/shmsupp/lock.c:1.9 rtems/c/src/lib/libbsp/m68k/mvme147s/shmsupp/lock.c:1.10
--- rtems/c/src/lib/libbsp/m68k/mvme147s/shmsupp/lock.c:1.9 Thu Apr 15 08:26:14 2004
+++ rtems/c/src/lib/libbsp/m68k/mvme147s/shmsupp/lock.c Fri Feb 11 06:37:53 2011
</font><font color='#997700'>@@ -49,9 +49,9 @@
</font>
rtems_interrupt_disable( isr_level );
Shm_isrstat = isr_level;
<font color='#880000'>- asm volatile( "lockit:" : : );
- asm volatile( "tas %0@" : "=a" (lockptr) : "0" (lockptr) );
- asm volatile( "bne lockit" : : );
</font><font color='#000088'>+ __asm__ volatile( "lockit:" : : );
+ __asm__ volatile( "tas %0@" : "=a" (lockptr) : "0" (lockptr) );
+ __asm__ volatile( "bne lockit" : : );
</font> /* should delay */
}
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/nios2/nios2_iss/ChangeLog:1.47 rtems/c/src/lib/libbsp/nios2/nios2_iss/ChangeLog:1.48
--- rtems/c/src/lib/libbsp/nios2/nios2_iss/ChangeLog:1.47 Wed Feb 9 06:15:05 2011
+++ rtems/c/src/lib/libbsp/nios2/nios2_iss/ChangeLog Fri Feb 11 06:54:47 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * shmsupp/lock.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/nios2/nios2_iss/shmsupp/lock.c:1.1 rtems/c/src/lib/libbsp/nios2/nios2_iss/shmsupp/lock.c:1.2
--- rtems/c/src/lib/libbsp/nios2/nios2_iss/shmsupp/lock.c:1.1 Wed Aug 9 15:57:11 2006
+++ rtems/c/src/lib/libbsp/nios2/nios2_iss/shmsupp/lock.c Fri Feb 11 06:54:47 2011
</font><font color='#997700'>@@ -53,7 +53,7 @@
</font>
Shm_isrstat = isr_level;
while ( lock_value ) {
<font color='#880000'>- asm volatile( ""
</font><font color='#000088'>+ __asm__ volatile( ""
</font> : "=r" (lockptr), "=r" (lock_value)
: "0" (lockptr), "1" (lock_value)
);
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/no_cpu/no_bsp/ChangeLog:1.90 rtems/c/src/lib/libbsp/no_cpu/no_bsp/ChangeLog:1.91
--- rtems/c/src/lib/libbsp/no_cpu/no_bsp/ChangeLog:1.90 Wed Feb 9 06:15:54 2011
+++ rtems/c/src/lib/libbsp/no_cpu/no_bsp/ChangeLog Fri Feb 11 06:55:33 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * shmsupp/lock.c:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/no_cpu/no_bsp/shmsupp/lock.c:1.12 rtems/c/src/lib/libbsp/no_cpu/no_bsp/shmsupp/lock.c:1.13
--- rtems/c/src/lib/libbsp/no_cpu/no_bsp/shmsupp/lock.c:1.12 Thu Apr 15 08:26:16 2004
+++ rtems/c/src/lib/libbsp/no_cpu/no_bsp/shmsupp/lock.c Fri Feb 11 06:55:33 2011
</font><font color='#997700'>@@ -53,7 +53,7 @@
</font>
Shm_isrstat = isr_level;
while ( lock_value ) {
<font color='#880000'>- asm volatile( ""
</font><font color='#000088'>+ __asm__ volatile( ""
</font> : "=r" (lockptr), "=r" (lock_value)
: "0" (lockptr), "1" (lock_value)
);
</pre>
<p> </p>
<a name='cs34'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/smc91111config.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/ChangeLog.diff?r1=text&tr1=1.537&r2=text&tr2=1.538&diff_format=h">M</a></td><td width='1%'>1.538</td><td width='100%'>c/src/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/libchip/network/smc91111config.h.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>c/src/libchip/network/smc91111config.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/ChangeLog:1.537 rtems/c/src/ChangeLog:1.538
--- rtems/c/src/ChangeLog:1.537 Wed Feb 2 08:57:38 2011
+++ rtems/c/src/ChangeLog Fri Feb 11 06:57:44 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * libchip/network/smc91111config.h:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
</font> 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
<font color='#006600'>diff -u rtems/c/src/libchip/network/smc91111config.h:1.5 rtems/c/src/libchip/network/smc91111config.h:1.6
--- rtems/c/src/libchip/network/smc91111config.h:1.5 Tue Dec 16 15:58:18 2008
+++ rtems/c/src/libchip/network/smc91111config.h Fri Feb 11 06:57:44 2011
</font><font color='#997700'>@@ -74,7 +74,7 @@
</font> #define CYG_MACRO_START do {
#define CYG_MACRO_END } while (0)
#define HAL_IO_BARRIER() \
<font color='#880000'>- asm volatile ( "" : : : "memory" )
</font><font color='#000088'>+ __asm__ volatile ( "" : : : "memory" )
</font>
#define HAL_READ_UINT8( _register_, _value_ ) \
CYG_MACRO_START \
</pre>
<p> </p>
<a name='cs35'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>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.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/sh/sh7032/score/ispsh7032.c.diff?r1=text&tr1=1.10&r2=text&tr2=1.11&diff_format=h">M</a></td><td width='1%'>1.11</td><td width='100%'>c/src/lib/libcpu/sh/sh7032/score/ispsh7032.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/sh/sh7045/score/ispsh7045.c.diff?r1=text&tr1=1.11&r2=text&tr2=1.12&diff_format=h">M</a></td><td width='1%'>1.12</td><td width='100%'>c/src/lib/libcpu/sh/sh7045/score/ispsh7045.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/sh/sh7750/sci/sh4uart.c.diff?r1=text&tr1=1.13&r2=text&tr2=1.14&diff_format=h">M</a></td><td width='1%'>1.14</td><td width='100%'>c/src/lib/libcpu/sh/sh7750/sci/sh4uart.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/sh/sh7750/score/ispsh7750.c.diff?r1=text&tr1=1.11&r2=text&tr2=1.12&diff_format=h">M</a></td><td width='1%'>1.12</td><td width='100%'>c/src/lib/libcpu/sh/sh7750/score/ispsh7750.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/sh/shgdb/score/ispshgdb.c.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>c/src/lib/libcpu/sh/shgdb/score/ispshgdb.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libcpu/sh/sh7032/score/ispsh7032.c:1.10 rtems/c/src/lib/libcpu/sh/sh7032/score/ispsh7032.c:1.11
--- rtems/c/src/lib/libcpu/sh/sh7032/score/ispsh7032.c:1.10 Fri Feb 11 03:57:25 2011
+++ rtems/c/src/lib/libcpu/sh/sh7032/score/ispsh7032.c Fri Feb 11 07:03:48 2011
</font><font color='#997700'>@@ -81,7 +81,7 @@
</font> * We try to work around this problem by using the macro below.
*/
#define isp( name, number, func)\
<font color='#880000'>-asm (".global _"Str(name)"\n\t" \
</font><font color='#000088'>+__asm__ (".global _"Str(name)"\n\t" \
</font> "_"Str(name)": \n\t" \
" mov.l r0,@-r15 \n\t" \
" mov.l r1,@-r15 \n\t" \
<font color='#006600'>diff -u rtems/c/src/lib/libcpu/sh/sh7045/score/ispsh7045.c:1.11 rtems/c/src/lib/libcpu/sh/sh7045/score/ispsh7045.c:1.12
--- rtems/c/src/lib/libcpu/sh/sh7045/score/ispsh7045.c:1.11 Fri Feb 11 03:57:25 2011
+++ rtems/c/src/lib/libcpu/sh/sh7045/score/ispsh7045.c Fri Feb 11 07:03:48 2011
</font><font color='#997700'>@@ -107,7 +107,7 @@
</font> * We try to work around this problem by using the macro below.
*/
#define isp( name, number, func)\
<font color='#880000'>-asm (".global _"Str(name)"\n\t"\
</font><font color='#000088'>+__asm__ (".global _"Str(name)"\n\t"\
</font> "_"Str(name)": \n\t"\
" mov.l r0,@-r15 \n\t"\
" mov.l r1,@-r15 \n\t"\
<font color='#006600'>diff -u rtems/c/src/lib/libcpu/sh/sh7750/sci/sh4uart.c:1.13 rtems/c/src/lib/libcpu/sh/sh7750/sci/sh4uart.c:1.14
--- rtems/c/src/lib/libcpu/sh/sh7750/sci/sh4uart.c:1.13 Fri Feb 11 03:57:25 2011
+++ rtems/c/src/lib/libcpu/sh/sh7750/sci/sh4uart.c Fri Feb 11 07:03:48 2011
</font><font color='#997700'>@@ -866,7 +866,7 @@
</font> " nop\n");
extern void ipl_serial_output(const char *buf, int len);
<font color='#880000'>-asm (
</font><font color='#000088'>+__asm__ (
</font> " .global _ipl_serial_output\n"
"_ipl_serial_output:\n"
" mov #0,r0\n"
<font color='#006600'>diff -u rtems/c/src/lib/libcpu/sh/sh7750/score/ispsh7750.c:1.11 rtems/c/src/lib/libcpu/sh/sh7750/score/ispsh7750.c:1.12
--- rtems/c/src/lib/libcpu/sh/sh7750/score/ispsh7750.c:1.11 Fri Feb 11 03:57:25 2011
+++ rtems/c/src/lib/libcpu/sh/sh7750/score/ispsh7750.c Fri Feb 11 07:03:48 2011
</font><font color='#997700'>@@ -71,7 +71,7 @@
</font> " or #" __STRINGIFY__(SH7750_TSTR_STR0) ",r1\n" \
" mov.b r1,@r0 \n"
<font color='#880000'>-asm (" .text\n"
</font><font color='#000088'>+__asm__ (" .text\n"
</font> " .balign 256\n"
" .global __vbr_base\n"
"__vbr_base:\n"
<font color='#006600'>diff -u rtems/c/src/lib/libcpu/sh/shgdb/score/ispshgdb.c:1.4 rtems/c/src/lib/libcpu/sh/shgdb/score/ispshgdb.c:1.5
--- rtems/c/src/lib/libcpu/sh/shgdb/score/ispshgdb.c:1.4 Fri Feb 11 03:57:25 2011
+++ rtems/c/src/lib/libcpu/sh/shgdb/score/ispshgdb.c Fri Feb 11 07:03:48 2011
</font><font color='#997700'>@@ -93,7 +93,7 @@
</font> * We try to work around this problem by using the macro below.
*/
#define isp( name, number, func)\
<font color='#880000'>-asm (".global _"Str(name)"\n\t"\
</font><font color='#000088'>+__asm__ (".global _"Str(name)"\n\t"\
</font> "_"Str(name)": \n\t"\
" mov.l r0,@-r15 \n\t"\
" mov.l r1,@-r15 \n\t"\
</pre>
<p> </p>
<a name='cs36'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* mpc55xx/include/mpc55xx.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/powerpc/ChangeLog.diff?r1=text&tr1=1.375&r2=text&tr2=1.376&diff_format=h">M</a></td><td width='1%'>1.376</td><td width='100%'>c/src/lib/libcpu/powerpc/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/powerpc/mpc55xx/include/mpc55xx.h.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>c/src/lib/libcpu/powerpc/mpc55xx/include/mpc55xx.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.375 rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.376
--- rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.375 Fri Feb 11 03:55:48 2011
+++ rtems/c/src/lib/libcpu/powerpc/ChangeLog Fri Feb 11 07:05:24 2011
</font><font color='#997700'>@@ -1,5 +1,10 @@
</font> 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
<font color='#000088'>+ * mpc55xx/include/mpc55xx.h:
+ Use "__asm__" instead of "asm" for improved c99-compliance.
+
+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
</font> * mpc6xx/altivec/vec_sup.c, mpc6xx/mmu/bat.h:
Fix up comments having been broken in previous commit.
<font color='#006600'>diff -u rtems/c/src/lib/libcpu/powerpc/mpc55xx/include/mpc55xx.h:1.3 rtems/c/src/lib/libcpu/powerpc/mpc55xx/include/mpc55xx.h:1.4
--- rtems/c/src/lib/libcpu/powerpc/mpc55xx/include/mpc55xx.h:1.3 Wed Dec 29 04:45:33 2010
+++ rtems/c/src/lib/libcpu/powerpc/mpc55xx/include/mpc55xx.h Fri Feb 11 07:05:24 2011
</font><font color='#997700'>@@ -94,7 +94,7 @@
</font> static inline uint32_t mpc55xx_count_leading_zeros( uint32_t value)
{
uint32_t count;
<font color='#880000'>- asm (
</font><font color='#000088'>+ __asm__ (
</font> "cntlzw %0, %1;"
: "=r" (count)
: "r" (value)
</pre>
<p> </p>
<a name='cs37'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* dswifi/common/source/spinlock.h:
Use "__asm__" instead of "__asm" for improved c99-compliance.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/nds/ChangeLog.diff?r1=text&tr1=1.63&r2=text&tr2=1.64&diff_format=h">M</a></td><td width='1%'>1.64</td><td width='100%'>c/src/lib/libbsp/arm/nds/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/nds/dswifi/common/source/spinlock.h.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>c/src/lib/libbsp/arm/nds/dswifi/common/source/spinlock.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/nds/ChangeLog:1.63 rtems/c/src/lib/libbsp/arm/nds/ChangeLog:1.64
--- rtems/c/src/lib/libbsp/arm/nds/ChangeLog:1.63 Fri Feb 11 05:48:20 2011
+++ rtems/c/src/lib/libbsp/arm/nds/ChangeLog Fri Feb 11 07:07:39 2011
</font><font color='#997700'>@@ -1,5 +1,10 @@
</font> 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
<font color='#000088'>+ * dswifi/common/source/spinlock.h:
+ Use "__asm__" instead of "__asm" for improved c99-compliance.
+
+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
</font> * console/console.c, dswifi/arm9/source/wifi_arm9.c, tools/bin2s.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/nds/dswifi/common/source/spinlock.h:1.2 rtems/c/src/lib/libbsp/arm/nds/dswifi/common/source/spinlock.h:1.3
--- rtems/c/src/lib/libbsp/arm/nds/dswifi/common/source/spinlock.h:1.2 Sun Nov 29 08:53:00 2009
+++ rtems/c/src/lib/libbsp/arm/nds/dswifi/common/source/spinlock.h Fri Feb 11 07:07:39 2011
</font><font color='#997700'>@@ -28,7 +28,7 @@
</font>
/*
<font color='#880000'>-__asm (
</font><font color='#000088'>+__asm__ (
</font> ".GLOBL SLasm_Acquire, SLasm_Release \n"
".ARM \n"
"SLasm_Acquire: \n"
</pre>
<p> </p>
<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>