]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseLib/Arm/MemoryFence.asm
MdePkg BaseLib: Convert Ia32/ReadLdtr.asm to NASM
[mirror_edk2.git] / MdePkg / Library / BaseLib / Arm / 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
19 AREA MemoryBarriers, CODE, READONLY
20
21 ;/**
22 ; Used to serialize load and store operations.
23 ;
24 ; All loads and stores that proceed calls to this function are guaranteed to be
25 ; globally visible when this function returns.
26 ;
27 ;**/
28 ;VOID
29 ;EFIAPI
30 ;MemoryFence (
31 ; VOID
32 ; );
33 ;
34 MemoryFence FUNCTION
35 dmb
36 bx lr
37 ENDFUNC
38
39 END