]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/BaseLib/AArch64/MemoryFence.asm
MdePkg/Library/BaseLib/AArch64: Comment style harmonization
[mirror_edk2.git] / MdePkg / Library / BaseLib / AArch64 / MemoryFence.asm
CommitLineData
da351bdb
PB
1;------------------------------------------------------------------------------\r
2;\r
3; MemoryFence() for AArch64\r
4;\r
5; Copyright (c) 2013, ARM Ltd. All rights reserved.\r
6;\r
7; This program and the accompanying materials\r
8; are licensed and made available under the terms and conditions of the BSD License\r
9; which accompanies this distribution. The full text of the license may be found at\r
10; http://opensource.org/licenses/bsd-license.php.\r
11;\r
12; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14;\r
15;------------------------------------------------------------------------------\r
16\r
17 EXPORT MemoryFence\r
18 AREA BaseLib_LowLevel, CODE, READONLY\r
19\r
20;/**\r
21; Used to serialize load and store operations.\r
22;\r
23; All loads and stores that proceed calls to this function are guaranteed to be\r
24; globally visible when this function returns.\r
25;\r
26;**/\r
27;VOID\r
28;EFIAPI\r
29;MemoryFence (\r
30; VOID\r
31; );\r
32;\r
33MemoryFence\r
34 // System wide Data Memory Barrier.\r
35 dmb sy\r
36 ret\r
37\r
38 END\r