Changeset 566fa34 in rtems


Ignore:
Timestamp:
Feb 11, 2011, 9:11:57 AM (9 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
01850cde
Parents:
0b6cb0cd
Message:

2011-02-11 Ralf Corsépius <ralf.corsepius@…>

  • rtems/score/cpu.h: Use "asm" instead of "asm" for improved c99-compliance.
Location:
cpukit/score/cpu/bfin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/bfin/ChangeLog

    r0b6cb0cd r566fa34  
     12011-02-11      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * rtems/score/cpu.h:
     4        Use "__asm__" instead of "asm" for improved c99-compliance.
     5
    162010-10-21      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • cpukit/score/cpu/bfin/rtems/score/cpu.h

    r0b6cb0cd r566fa34  
    711711#define _CPU_ISR_Disable( _level ) \
    712712  {                                     \
    713        asm volatile ("cli %0; csync \n" : "=d" (_level) );     \
     713       __asm__ volatile ("cli %0; csync \n" : "=d" (_level) );     \
    714714  }
    715715
     
    911911#define _CPU_Fatal_halt( _error ) \
    912912  { \
    913     asm volatile ( "cli R1; \
     913    __asm__ volatile ( "cli R1; \
    914914                    R1 = %0; \
    915915                    _halt: \
     
    10161016#define _CPU_Bitfield_Find_first_bit( _value, _output ) \
    10171017  { \
    1018     asm ("bit(1);"):
     1018    __asm__ ("bit(1);"):
    10191019    (_output) = 0;   /* do something to prevent warnings */ \
    10201020  }
Note: See TracChangeset for help on using the changeset viewer.