MdePkg BaseLib: Convert X64/Wbinvd.asm to NASM
The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
X64/Wbinvd.asm to X64/Wbinvd.nasm
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
diff --git a/MdePkg/Library/BaseLib/BaseLib.inf b/MdePkg/Library/BaseLib/BaseLib.inf
index f6faca4..639707b 100644
--- a/MdePkg/Library/BaseLib/BaseLib.inf
+++ b/MdePkg/Library/BaseLib/BaseLib.inf
@@ -461,6 +461,7 @@
X64/FlushCacheLine.asm | MSFT
X64/Invd.nasm| MSFT
X64/Invd.asm | MSFT
+ X64/Wbinvd.nasm| MSFT
X64/Wbinvd.asm | MSFT
X64/DisablePaging64.asm | MSFT
X64/Mwait.asm | MSFT
@@ -541,6 +542,7 @@
X64/FlushCacheLine.asm | INTEL
X64/Invd.nasm| INTEL
X64/Invd.asm | INTEL
+ X64/Wbinvd.nasm| INTEL
X64/Wbinvd.asm | INTEL
X64/DisablePaging64.asm | INTEL
X64/Mwait.asm | INTEL
diff --git a/MdePkg/Library/BaseLib/X64/Wbinvd.nasm b/MdePkg/Library/BaseLib/X64/Wbinvd.nasm
new file mode 100644
index 0000000..06c16c0
--- /dev/null
+++ b/MdePkg/Library/BaseLib/X64/Wbinvd.nasm
@@ -0,0 +1,38 @@
+;------------------------------------------------------------------------------
+;
+; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
+; This program and the accompanying materials
+; are licensed and made available under the terms and conditions of the BSD License
+; which accompanies this distribution. The full text of the license may be found at
+; http://opensource.org/licenses/bsd-license.php.
+;
+; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+;
+; Module Name:
+;
+; Wbinvd.Asm
+;
+; Abstract:
+;
+; AsmWbinvd function
+;
+; Notes:
+;
+;------------------------------------------------------------------------------
+
+ DEFAULT REL
+ SECTION .text
+
+;------------------------------------------------------------------------------
+; VOID
+; EFIAPI
+; AsmWbinvd (
+; VOID
+; );
+;------------------------------------------------------------------------------
+global ASM_PFX(AsmWbinvd)
+ASM_PFX(AsmWbinvd):
+ wbinvd
+ ret
+