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:32 +0800 |
commit | 2493287b1eced720e7169f8cd4c7d9d38ae1f47c (patch) | |
tree | f8aaf0049206a5bb1ffd40eeea23245075ade8c6 /MdePkg/Library | |
parent | 345068d636e0096649afa0aaa2a98c2917827085 (diff) | |
download | edk2-platforms-2493287b1eced720e7169f8cd4c7d9d38ae1f47c.tar.xz |
MdePkg BaseLib: Convert X64/EnableDisableInterrupts.asm to NASM
The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
X64/EnableDisableInterrupts.asm to X64/EnableDisableInterrupts.nasm
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'MdePkg/Library')
-rw-r--r-- | MdePkg/Library/BaseLib/BaseLib.inf | 3 | ||||
-rw-r--r-- | MdePkg/Library/BaseLib/X64/EnableDisableInterrupts.nasm | 39 |
2 files changed, 42 insertions, 0 deletions
diff --git a/MdePkg/Library/BaseLib/BaseLib.inf b/MdePkg/Library/BaseLib/BaseLib.inf index c5f45ee3bb..fabc0e2e71 100644 --- a/MdePkg/Library/BaseLib/BaseLib.inf +++ b/MdePkg/Library/BaseLib/BaseLib.inf @@ -451,6 +451,7 @@ X64/RdRand.asm | MSFT
X64/CpuPause.nasm| MSFT
X64/CpuPause.asm | MSFT
+ X64/EnableDisableInterrupts.nasm| MSFT
X64/EnableDisableInterrupts.asm | MSFT
X64/DisableInterrupts.asm | MSFT
X64/EnableInterrupts.asm | MSFT
@@ -526,6 +527,7 @@ X64/RdRand.asm | INTEL
X64/CpuPause.nasm| INTEL
X64/CpuPause.asm | INTEL
+ X64/EnableDisableInterrupts.nasm| INTEL
X64/EnableDisableInterrupts.asm | INTEL
X64/DisableInterrupts.asm | INTEL
X64/EnableInterrupts.asm | INTEL
@@ -620,6 +622,7 @@ X64/SetJump.S | GCC
X64/LongJump.nasm| GCC
X64/LongJump.S | GCC
+ X64/EnableDisableInterrupts.nasm| GCC
X64/EnableDisableInterrupts.S | GCC
X64/DisablePaging64.S | GCC
X64/CpuId.nasm| GCC
diff --git a/MdePkg/Library/BaseLib/X64/EnableDisableInterrupts.nasm b/MdePkg/Library/BaseLib/X64/EnableDisableInterrupts.nasm new file mode 100644 index 0000000000..861d519a91 --- /dev/null +++ b/MdePkg/Library/BaseLib/X64/EnableDisableInterrupts.nasm @@ -0,0 +1,39 @@ +;------------------------------------------------------------------------------
+;
+; 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:
+;
+; EnableDisableInterrupts.Asm
+;
+; Abstract:
+;
+; EnableDisableInterrupts function
+;
+; Notes:
+;
+;------------------------------------------------------------------------------
+
+ DEFAULT REL
+ SECTION .text
+
+;------------------------------------------------------------------------------
+; VOID
+; EFIAPI
+; EnableDisableInterrupts (
+; VOID
+; );
+;------------------------------------------------------------------------------
+global ASM_PFX(EnableDisableInterrupts)
+ASM_PFX(EnableDisableInterrupts):
+ sti
+ cli
+ ret
+
|