Changeset e995906e in rtems


Ignore:
Timestamp:
Feb 11, 2011, 12:32:21 PM (9 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
c3b18f9
Parents:
48820bc9
Message:

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

  • startup/init5235.c: Use "asm" instead of "asm" for improved c99-compliance.
Location:
c/src/lib/libbsp/m68k/mcf5235
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/mcf5235/ChangeLog

    r48820bc9 re995906e  
     12011-02-11      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * startup/init5235.c:
     4        Use "__asm__" instead of "asm" for improved c99-compliance.
     5
    162011-02-09      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • c/src/lib/libbsp/m68k/mcf5235/startup/init5235.c

    r48820bc9 re995906e  
    1010#include <rtems.h>
    1111#include <bsp.h>
    12 #define m68k_set_cacr(_cacr) asm volatile ("movec %0,%%cacr" : : "d" (_cacr))
    13 #define m68k_set_acr0(_acr0) asm volatile ("movec %0,%%acr0" : : "d" (_acr0))
    14 #define m68k_set_acr1(_acr1) asm volatile ("movec %0,%%acr1" : : "d" (_acr1))
     12#define m68k_set_cacr(_cacr) __asm__ volatile ("movec %0,%%cacr" : : "d" (_cacr))
     13#define m68k_set_acr0(_acr0) __asm__ volatile ("movec %0,%%acr0" : : "d" (_acr0))
     14#define m68k_set_acr1(_acr1) __asm__ volatile ("movec %0,%%acr1" : : "d" (_acr1))
    1515#define MM_SDRAM_BASE           (0x00000000)
    1616
Note: See TracChangeset for help on using the changeset viewer.