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