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:
Ralf Corsepius
2011-02-11 12:55:33 +00:00
parent 6001e7ef41
commit b330b74e51
4 changed files with 12 additions and 2 deletions

View File

@@ -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>.

View File

@@ -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)
); );

View File

@@ -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>.

View File

@@ -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)
); );