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>.
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ Thread clock_driver_sim_idle_body(uintptr_t);
|
|||||||
#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 ; \
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ int __trap0 (int function, int p1, int p2, int p3, struct _reent *r);
|
|||||||
#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