]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseLib/AArch64/MemoryFence.asm
MdePkg/Library/BaseLib: Enable VS2017/ARM64 builds
[mirror_edk2.git] / MdePkg / Library / BaseLib / AArch64 / MemoryFence.asm
1 ;------------------------------------------------------------------------------
2 ;
3 ; MemoryFence() for AArch64
4 ;
5 ; Copyright (c) 2013, ARM Ltd. All rights reserved.
6 ;
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.
11 ;
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.
14 ;
15 ;------------------------------------------------------------------------------
16
17 EXPORT MemoryFence
18 AREA BaseLib_LowLevel, CODE, READONLY
19
20 ;/**
21 ; Used to serialize load and store operations.
22 ;
23 ; All loads and stores that proceed calls to this function are guaranteed to be
24 ; globally visible when this function returns.
25 ;
26 ;**/
27 ;VOID
28 ;EFIAPI
29 ;MemoryFence (
30 ; VOID
31 ; );
32 ;
33 MemoryFence
34 // System wide Data Memory Barrier.
35 dmb sy
36 ret
37
38 END