Changeset 2ee9d3d in rtems


Ignore:
Timestamp:
Feb 11, 2011, 11:49:52 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, 5, master
Children:
b7765d62
Parents:
d390156
Message:

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

  • shared/abort/abort.c, shared/abort/simple_abort.c: Use "asm" instead of "asm" for improved c99-compliance.
Location:
c/src/lib/libbsp/arm
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/ChangeLog

    rd390156 r2ee9d3d  
     12011-02-11      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * shared/abort/abort.c, shared/abort/simple_abort.c:
     4        Use "__asm__" instead of "asm" for improved c99-compliance.
     5
    162011-02-02      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • c/src/lib/libbsp/arm/shared/abort/abort.c

    rd390156 r2ee9d3d  
    7272    if(!mode) mode="unknown";
    7373
    74     asm volatile (ARM_SWITCH_TO_ARM
     74    __asm__ volatile (ARM_SWITCH_TO_ARM
    7575              " MRS  %[cpsr], cpsr \n"
    7676              " ORR  %[arm_switch_reg], %[spsr], #0xc0 \n"
  • c/src/lib/libbsp/arm/shared/abort/simple_abort.c

    rd390156 r2ee9d3d  
    6565  if(!mode) mode="unknown";
    6666
    67   asm volatile (
     67  __asm__ volatile (
    6868    ARM_SWITCH_TO_ARM
    6969    "mrs %[cpsr], cpsr\n"
Note: See TracChangeset for help on using the changeset viewer.