diff options
author | Jordan Justen <jordan.l.justen@intel.com> | 2016-05-30 18:51:59 -0700 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2016-06-28 09:49:18 +0800 |
commit | cb44f80afc97f46cb0d5add7c03a0aa5da89a19f (patch) | |
tree | c6ff8ebc9b29e44b054d2ad14707a8359db2d21f /MdePkg/Library/BaseLib/Ia32 | |
parent | f67a4344d2bdbf7649c4997ddbfef9c1ff5713a5 (diff) | |
download | edk2-platforms-cb44f80afc97f46cb0d5add7c03a0aa5da89a19f.tar.xz |
MdePkg BaseLib: Convert Ia32/EnableDisableInterrupts.asm to NASM
The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/EnableDisableInterrupts.asm to Ia32/EnableDisableInterrupts.nasm
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'MdePkg/Library/BaseLib/Ia32')
-rw-r--r-- | MdePkg/Library/BaseLib/Ia32/EnableDisableInterrupts.nasm | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/EnableDisableInterrupts.nasm b/MdePkg/Library/BaseLib/Ia32/EnableDisableInterrupts.nasm new file mode 100644 index 0000000000..7b206757bd --- /dev/null +++ b/MdePkg/Library/BaseLib/Ia32/EnableDisableInterrupts.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:
+;
+; EnableDisableInterrupts.Asm
+;
+; Abstract:
+;
+; EnableDisableInterrupts function
+;
+; Notes:
+;
+;------------------------------------------------------------------------------
+
+ SECTION .text
+
+;------------------------------------------------------------------------------
+; VOID
+; EFIAPI
+; EnableDisableInterrupts (
+; VOID
+; );
+;------------------------------------------------------------------------------
+global ASM_PFX(_EnableDisableInterrupts)
+ASM_PFX(_EnableDisableInterrupts):
+ sti
+ cli
+ ret
+
|