forked from Imagelibrary/rtems
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* shmsupp/lock.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>
|
||||||
|
|
||||||
|
* shmsupp/lock.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>.
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ void Shm_Lock(
|
|||||||
|
|
||||||
Shm_isrstat = isr_level;
|
Shm_isrstat = isr_level;
|
||||||
while ( lock_value ) {
|
while ( lock_value ) {
|
||||||
asm volatile( ""
|
__asm__ volatile( ""
|
||||||
: "=r" (lockptr), "=r" (lock_value)
|
: "=r" (lockptr), "=r" (lock_value)
|
||||||
: "0" (lockptr), "1" (lock_value)
|
: "0" (lockptr), "1" (lock_value)
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* shmsupp/lock.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>.
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ void Shm_Lock(
|
|||||||
|
|
||||||
Shm_isrstat = isr_level;
|
Shm_isrstat = isr_level;
|
||||||
while ( lock_value ) {
|
while ( lock_value ) {
|
||||||
asm volatile( ""
|
__asm__ volatile( ""
|
||||||
: "=r" (lockptr), "=r" (lock_value)
|
: "=r" (lockptr), "=r" (lock_value)
|
||||||
: "0" (lockptr), "1" (lock_value)
|
: "0" (lockptr), "1" (lock_value)
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user