]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/BaseLib/Arm/MemoryFence.asm
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Library / BaseLib / Arm / MemoryFence.asm
CommitLineData
8c1e7951
OM
1;------------------------------------------------------------------------------\r
2;\r
3; MemoryFence() for AArch64\r
4;\r
5; Copyright (c) 2013, ARM Ltd. All rights reserved.\r
6;\r
9344f092 7; SPDX-License-Identifier: BSD-2-Clause-Patent\r
8c1e7951
OM
8;\r
9;------------------------------------------------------------------------------\r
10\r
11 EXPORT MemoryFence\r
12\r
13 AREA MemoryBarriers, CODE, READONLY\r
14\r
15;/**\r
16; Used to serialize load and store operations.\r
17;\r
18; All loads and stores that proceed calls to this function are guaranteed to be\r
19; globally visible when this function returns.\r
20;\r
21;**/\r
22;VOID\r
23;EFIAPI\r
24;MemoryFence (\r
25; VOID\r
26; );\r
27;\r
28MemoryFence FUNCTION\r
29 dmb\r
30 bx lr\r
31 ENDFUNC\r
32\r
33 END\r