diff options
author | Jordan Justen <jordan.l.justen@intel.com> | 2016-05-30 18:52:00 -0700 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2016-06-28 09:49:35 +0800 |
commit | e53f8184d338263ba202bbd8ffa9861a21f35ab5 (patch) | |
tree | 56e444af9364b5916525ac65051593c7f3abefa5 /MdePkg/Library/BaseLib | |
parent | 6a4d3fed576f1ead1e7068c07a1e186dcc48ef80 (diff) | |
download | edk2-platforms-e53f8184d338263ba202bbd8ffa9861a21f35ab5.tar.xz |
MdePkg BaseLib: Convert X64/Invd.asm to NASM
The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
X64/Invd.asm to X64/Invd.nasm
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'MdePkg/Library/BaseLib')
-rw-r--r-- | MdePkg/Library/BaseLib/BaseLib.inf | 2 | ||||
-rw-r--r-- | MdePkg/Library/BaseLib/X64/Invd.nasm | 38 |
2 files changed, 40 insertions, 0 deletions
diff --git a/MdePkg/Library/BaseLib/BaseLib.inf b/MdePkg/Library/BaseLib/BaseLib.inf index 8d93b91461..f6faca48f3 100644 --- a/MdePkg/Library/BaseLib/BaseLib.inf +++ b/MdePkg/Library/BaseLib/BaseLib.inf @@ -459,6 +459,7 @@ X64/EnableInterrupts.asm | MSFT
X64/FlushCacheLine.nasm| MSFT
X64/FlushCacheLine.asm | MSFT
+ X64/Invd.nasm| MSFT
X64/Invd.asm | MSFT
X64/Wbinvd.asm | MSFT
X64/DisablePaging64.asm | MSFT
@@ -538,6 +539,7 @@ X64/EnableInterrupts.asm | INTEL
X64/FlushCacheLine.nasm| INTEL
X64/FlushCacheLine.asm | INTEL
+ X64/Invd.nasm| INTEL
X64/Invd.asm | INTEL
X64/Wbinvd.asm | INTEL
X64/DisablePaging64.asm | INTEL
diff --git a/MdePkg/Library/BaseLib/X64/Invd.nasm b/MdePkg/Library/BaseLib/X64/Invd.nasm new file mode 100644 index 0000000000..5a81629ef4 --- /dev/null +++ b/MdePkg/Library/BaseLib/X64/Invd.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:
+;
+; Invd.Asm
+;
+; Abstract:
+;
+; AsmInvd function
+;
+; Notes:
+;
+;------------------------------------------------------------------------------
+
+ DEFAULT REL
+ SECTION .text
+
+;------------------------------------------------------------------------------
+; VOID
+; EFIAPI
+; AsmInvd (
+; VOID
+; );
+;------------------------------------------------------------------------------
+global ASM_PFX(AsmInvd)
+ASM_PFX(AsmInvd):
+ invd
+ ret
+
|