forked from Imagelibrary/rtems
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/bsp.h: 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>
|
||||||
|
|
||||||
|
* include/bsp.h:
|
||||||
|
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>.
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ extern "C" {
|
|||||||
#define rtems_bsp_delay( microseconds ) \
|
#define rtems_bsp_delay( microseconds ) \
|
||||||
{ register uint32_t _delay=(microseconds); \
|
{ register uint32_t _delay=(microseconds); \
|
||||||
register uint32_t _tmp=123; \
|
register uint32_t _tmp=123; \
|
||||||
asm volatile( "0: \
|
__asm__ volatile( "0: \
|
||||||
nbcd %0 ; \
|
nbcd %0 ; \
|
||||||
nbcd %0 ; \
|
nbcd %0 ; \
|
||||||
dbf %1,0b" \
|
dbf %1,0b" \
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* include/bsp.h:
|
||||||
|
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>.
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ extern "C" {
|
|||||||
#define rtems_bsp_delay( microseconds ) \
|
#define rtems_bsp_delay( microseconds ) \
|
||||||
{ register uint32_t _delay=(microseconds); \
|
{ register uint32_t _delay=(microseconds); \
|
||||||
register uint32_t _tmp=123; \
|
register uint32_t _tmp=123; \
|
||||||
asm volatile( "0: \
|
__asm__ volatile( "0: \
|
||||||
nbcd %0 ; \
|
nbcd %0 ; \
|
||||||
nbcd %0 ; \
|
nbcd %0 ; \
|
||||||
dbf %1,0b" \
|
dbf %1,0b" \
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* include/bsp.h:
|
||||||
|
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>.
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ extern int rtems_scc1_driver_attach (struct rtems_bsdnet_ifconfig *config, int a
|
|||||||
#define rtems_bsp_delay( microseconds ) \
|
#define rtems_bsp_delay( microseconds ) \
|
||||||
{ register uint32_t _delay=(microseconds); \
|
{ register uint32_t _delay=(microseconds); \
|
||||||
register uint32_t _tmp=123; \
|
register uint32_t _tmp=123; \
|
||||||
asm volatile( "0: \
|
__asm__ volatile( "0: \
|
||||||
nbcd %0 ; \
|
nbcd %0 ; \
|
||||||
nbcd %0 ; \
|
nbcd %0 ; \
|
||||||
dbf %1,0b" \
|
dbf %1,0b" \
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* include/bsp.h:
|
||||||
|
Use "__asm__" instead of "asm" for improved c99-compliance.
|
||||||
|
|
||||||
2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* configure.ac: Require autoconf-2.68, automake-1.11.1.
|
* configure.ac: Require autoconf-2.68, automake-1.11.1.
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ extern "C" {
|
|||||||
#define rtems_bsp_delay( microseconds ) \
|
#define rtems_bsp_delay( microseconds ) \
|
||||||
{ register uint32_t _delay=(microseconds); \
|
{ register uint32_t _delay=(microseconds); \
|
||||||
register uint32_t _tmp = 0; /* initialized to avoid warning */ \
|
register uint32_t _tmp = 0; /* initialized to avoid warning */ \
|
||||||
asm volatile( "0: \
|
__asm__ volatile( "0: \
|
||||||
remo 3,31,%0 ; \
|
remo 3,31,%0 ; \
|
||||||
cmpo 0,%0 ; \
|
cmpo 0,%0 ; \
|
||||||
subo 1,%1,%1 ; \
|
subo 1,%1,%1 ; \
|
||||||
|
|||||||
Reference in New Issue
Block a user