]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/BaseLib/Ia32/Lfence.nasm
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / 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 SECTION .text\r
19\r
20;------------------------------------------------------------------------------\r
21; VOID\r
22; EFIAPI\r
23; AsmLfence (\r
24; VOID\r
25; );\r
26;------------------------------------------------------------------------------\r
27global ASM_PFX(AsmLfence)\r
28ASM_PFX(AsmLfence):\r
29 lfence\r
30 ret\r