forked from Imagelibrary/rtems
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c, dswifi/arm9/source/wifi_arm9.c, tools/bin2s.c: Use "__asm__" instead of "asm" for improved c99-compliance.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* console/console.c, dswifi/arm9/source/wifi_arm9.c, tools/bin2s.c:
|
||||||
|
Use "__asm__" instead of "asm" for improved c99-compliance.
|
||||||
|
|
||||||
2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* timer/timer.c: Include <rtems/btimer.h>.
|
* timer/timer.c: Include <rtems/btimer.h>.
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ void
|
|||||||
nds_putch (char c)
|
nds_putch (char c)
|
||||||
{
|
{
|
||||||
#ifdef TESTSUITE
|
#ifdef TESTSUITE
|
||||||
asm volatile ("swi $0x1");
|
__asm__ volatile ("swi $0x1");
|
||||||
#endif
|
#endif
|
||||||
consolePrintChar (c);
|
consolePrintChar (c);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ void sgIP_RestoreInterrupts(int old_ime) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void sgIP_IntrWaitEvent() {
|
void sgIP_IntrWaitEvent() {
|
||||||
// __asm( ".ARM\n swi 0x060000\n" );
|
// __asm__ ( ".ARM\n swi 0x060000\n" );
|
||||||
int i,j;
|
int i,j;
|
||||||
j=0;
|
j=0;
|
||||||
for(i=0;i<20000;i++) {
|
for(i=0;i<20000;i++) {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/*---------------------------------------------------------------------------------
|
/*---------------------------------------------------------------------------------
|
||||||
$Id$
|
$Id$
|
||||||
|
|
||||||
bin2s: convert a binary file to a gcc asm module
|
bin2s: convert a binary file to a gcc asm-module
|
||||||
for gfx/foo.bin it'll write foo_bin (an array of char)
|
for gfx/foo.bin it'll write foo_bin (an array of char)
|
||||||
foo_bin_end, and foo_bin_len (an unsigned int)
|
foo_bin_end, and foo_bin_len (an unsigned int)
|
||||||
for 4bit.chr it'll write _4bit_chr, _4bit_chr_end, and
|
for 4bit.chr it'll write _4bit_chr, _4bit_chr_end, and
|
||||||
|
|||||||
Reference in New Issue
Block a user