Changeset 6d734bae in rtems


Ignore:
Timestamp:
Sep 1, 2015, 7:47:12 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11
Children:
d781ad5
Parents:
35e0394
git-author:
Sebastian Huber <sebastian.huber@…> (09/01/15 07:47:12)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/01/15 08:00:14)
Message:

arm: Replace sync_synchronize() implementation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/arm/armv4-sync-synchronize.c

    r35e0394 r6d734bae  
    1 void
    2 __sync_synchronize (void)
     1/*
     2 * Copyright (c) 2015 embedded brains GmbH.  All rights reserved.
     3 *
     4 *  embedded brains GmbH
     5 *  Dornierstr. 4
     6 *  82178 Puchheim
     7 *  Germany
     8 *  <rtems@embedded-brains.de>
     9 *
     10 * The license and distribution terms for this file may be
     11 * found in the file LICENSE in this distribution or at
     12 * http://www.rtems.org/license/LICENSE.
     13 */
     14
     15#include <rtems/score/cpu.h>
     16
     17void __sync_synchronize( void )
    318{
    4 #ifdef ARM_MULTILIB_HAS_BARRIER_INSTRUCTIONS
    5   asm volatile("dmb" : : : "memory");
    6 #else
    7   asm volatile("" : : : "memory");
    8 #endif
     19  _ARM_Data_memory_barrier();
    920}
Note: See TracChangeset for help on using the changeset viewer.