Changeset 39e3e20 in rtems


Ignore:
Timestamp:
Sep 1, 2015, 7:42:46 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
95b43d0
Parents:
509e8d7f
git-author:
Sebastian Huber <sebastian.huber@…> (09/01/15 07:42:46)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/01/15 07:59:18)
Message:

arm: Use compiler memory barrier by default

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/arm/rtems/score/cpu.h

    r509e8d7f r39e3e20  
    99 *  processor.
    1010 *
    11  *  Copyright (c) 2009-2014 embedded brains GmbH.
     11 *  Copyright (c) 2009-2015 embedded brains GmbH.
    1212 *
    1313 *  Copyright (c) 2007 Ray Xu <Rayx.cn@gmail.com>
     
    302302#ifdef ARM_MULTILIB_HAS_BARRIER_INSTRUCTIONS
    303303  __asm__ volatile ( "dmb" : : : "memory" );
     304#else
     305  RTEMS_COMPILER_MEMORY_BARRIER();
    304306#endif
    305307}
     
    309311#ifdef ARM_MULTILIB_HAS_BARRIER_INSTRUCTIONS
    310312  __asm__ volatile ( "dsb" : : : "memory" );
     313#else
     314  RTEMS_COMPILER_MEMORY_BARRIER();
    311315#endif
    312316}
     
    316320#ifdef ARM_MULTILIB_HAS_BARRIER_INSTRUCTIONS
    317321  __asm__ volatile ( "isb" : : : "memory" );
     322#else
     323  RTEMS_COMPILER_MEMORY_BARRIER();
    318324#endif
    319325}
Note: See TracChangeset for help on using the changeset viewer.