forked from Imagelibrary/rtems
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/tm27.h, irq/irq.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>
|
||||
|
||||
* include/tm27.h, irq/irq.c:
|
||||
Use "__asm__" instead of "asm" for improved c99-compliance.
|
||||
|
||||
2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.ac: Require autoconf-2.68, automake-1.11.1.
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
BSP_install_rtems_irq_handler (&scIrqData); \
|
||||
} while(0)
|
||||
|
||||
#define Cause_tm27_intr() asm volatile ("sc")
|
||||
#define Cause_tm27_intr() __asm__ volatile ("sc")
|
||||
|
||||
#define Clear_tm27_intr() /* empty */
|
||||
|
||||
|
||||
@@ -278,7 +278,7 @@ int C_dispatch_irq_handler (BSP_Exception_frame *frame, unsigned excNum)
|
||||
* make sure, that the masking operations in
|
||||
* ICTL and MSR are executed in order
|
||||
*/
|
||||
asm volatile("sync":::"memory");
|
||||
__asm__ volatile("sync":::"memory");
|
||||
|
||||
/* re-enable external exceptions */
|
||||
_CPU_MSR_GET(msr);
|
||||
@@ -295,7 +295,7 @@ int C_dispatch_irq_handler (BSP_Exception_frame *frame, unsigned excNum)
|
||||
* make sure, that the masking operations in
|
||||
* ICTL and MSR are executed in order
|
||||
*/
|
||||
asm volatile("sync":::"memory");
|
||||
__asm__ volatile("sync":::"memory");
|
||||
|
||||
/* restore interrupt masks */
|
||||
m8260.simr_h = old_simr_h;
|
||||
|
||||
Reference in New Issue
Block a user