Changeset 0d01467b in rtems


Ignore:
Timestamp:
Feb 11, 2011, 12:46:31 PM (9 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
a42d8b0
Parents:
5134f172
Message:

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

  • startup/cpuinit.c: Use "asm" instead of "asm" for improved c99-compliance.
Location:
c/src/lib/libbsp/powerpc/gen83xx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/gen83xx/ChangeLog

    r5134f172 r0d01467b  
     12011-02-11      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * startup/cpuinit.c:
     4        Use "__asm__" instead of "asm" for improved c99-compliance.
     5
    162011-02-10      Sebastian Huber <sebastian.huber@embedded-brains.de>
    27
  • c/src/lib/libbsp/powerpc/gen83xx/startup/cpuinit.c

    r5134f172 r0d01467b  
    132132  /* Clear segment registers */
    133133  for (i = 0;i < 16;i++) {
    134     asm volatile( "mtsrin %0, %1\n" : : "r" (i * 0x1000), "r" (i << (31 - 3)));
     134    __asm__ volatile( "mtsrin %0, %1\n" : : "r" (i * 0x1000), "r" (i << (31 - 3)));
    135135  }
    136136
    137137  /* Clear TLBs */
    138138  for (i = 0;i < 32;i++) {
    139     asm volatile( "tlbie %0\n" : : "r" (i << (31 - 19)));
     139    __asm__ volatile( "tlbie %0\n" : : "r" (i << (31 - 19)));
    140140  }
    141141}
Note: See TracChangeset for help on using the changeset viewer.