From c05f6238b9756bf28d59c11da0ef53d1f4d6d503 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 11 Feb 2011 09:14:20 +0000 Subject: =?UTF-8?q?2011-02-11=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * cpu.c, sse_test.c, rtems/score/cpu.h, rtems/score/i386.h, rtems/score/interrupts.h: Use "__asm__" instead of "asm" for improved c99-compliance. --- cpukit/score/cpu/i386/rtems/score/interrupts.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cpukit/score/cpu/i386/rtems/score/interrupts.h') diff --git a/cpukit/score/cpu/i386/rtems/score/interrupts.h b/cpukit/score/cpu/i386/rtems/score/interrupts.h index 89034a00f0..b6b541fb0e 100644 --- a/cpukit/score/cpu/i386/rtems/score/interrupts.h +++ b/cpukit/score/cpu/i386/rtems/score/interrupts.h @@ -36,7 +36,7 @@ typedef int (*rtems_raw_irq_is_enabled) (const struct __rtems_raw_irq_connect_d #define i386_disable_interrupts( _level ) \ { \ - asm volatile ( "pushf ; \ + __asm__ volatile ( "pushf ; \ cli ; \ pop %0" \ : "=rm" ((_level)) \ @@ -45,7 +45,7 @@ typedef int (*rtems_raw_irq_is_enabled) (const struct __rtems_raw_irq_connect_d #define i386_enable_interrupts( _level ) \ { \ - asm volatile ( "push %0 ; \ + __asm__ volatile ( "push %0 ; \ popf" \ : : "rm" ((_level)) : "cc" \ ); \ @@ -53,7 +53,7 @@ typedef int (*rtems_raw_irq_is_enabled) (const struct __rtems_raw_irq_connect_d #define i386_flash_interrupts( _level ) \ { \ - asm volatile ( "push %0 ; \ + __asm__ volatile ( "push %0 ; \ popf ; \ cli" \ : : "rm" ((_level)) : "cc" \ @@ -64,7 +64,7 @@ typedef int (*rtems_raw_irq_is_enabled) (const struct __rtems_raw_irq_connect_d do { \ register uint32_t _eflags; \ \ - asm volatile ( "pushf ; \ + __asm__ volatile ( "pushf ; \ pop %0" \ : "=rm" ((_eflags)) \ ); \ -- cgit v1.2.3