]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/BaseLib/X64/Lfence.nasm
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Library / BaseLib / X64 / Lfence.nasm
CommitLineData
2ecd8299
HW
1;------------------------------------------------------------------------------ ;\r
2; Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>\r
9344f092 3; SPDX-License-Identifier: BSD-2-Clause-Patent\r
2ecd8299
HW
4;\r
5; Module Name:\r
6;\r
7; Lfence.nasm\r
8;\r
9; Abstract:\r
10;\r
11; Performs a serializing operation on all load-from-memory instructions that\r
12; were issued prior to the call of this function.\r
13;\r
14; Notes:\r
15;\r
16;------------------------------------------------------------------------------\r
17\r
18 DEFAULT REL\r
19 SECTION .text\r
20\r
21;------------------------------------------------------------------------------\r
22; VOID\r
23; EFIAPI\r
24; AsmLfence (\r
25; VOID\r
26; );\r
27;------------------------------------------------------------------------------\r
28global ASM_PFX(AsmLfence)\r
29ASM_PFX(AsmLfence):\r
30 lfence\r
31 ret\r