1 ##------------------------------------------------------------------------------
3 # MemoryFence() for AArch64
5 # Copyright (c) 2013, ARM Ltd. All rights reserved.
7 # This program and the accompanying materials
8 # are licensed and made available under the terms and conditions of the BSD License
9 # which accompanies this distribution. The full text of the license may be found at
10 # http://opensource.org/licenses/bsd-license.php.
12 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 ##------------------------------------------------------------------------------
20 GCC_ASM_EXPORT(MemoryFence)
24 # Used to serialize load and store operations.
26 # All loads and stores that proceed calls to this function are guaranteed to be
27 # globally visible when this function returns.
37 // System wide Data Memory Barrier.