From: Jordan Justen Date: Tue, 31 May 2016 01:51:59 +0000 (-0700) Subject: MdePkg BaseLib: Convert Ia32/EnableDisableInterrupts.asm to NASM X-Git-Tag: edk2-stable201903~6697 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=cb44f80afc97f46cb0d5add7c03a0aa5da89a19f 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 --- diff --git a/MdePkg/Library/BaseLib/BaseLib.inf b/MdePkg/Library/BaseLib/BaseLib.inf index 57375d6870..718009b7f5 100644 --- a/MdePkg/Library/BaseLib/BaseLib.inf +++ b/MdePkg/Library/BaseLib/BaseLib.inf @@ -319,6 +319,7 @@ Ia32/EnablePaging32.asm | INTEL Ia32/EnableInterrupts.nasm| INTEL Ia32/EnableInterrupts.asm | INTEL + Ia32/EnableDisableInterrupts.nasm| INTEL Ia32/EnableDisableInterrupts.asm | INTEL Ia32/DivU64x64Remainder.nasm| INTEL Ia32/DivU64x64Remainder.asm | INTEL @@ -343,6 +344,7 @@ Ia32/GccInline.c | GCC Ia32/Thunk16.nasm | GCC Ia32/Thunk16.S | XCODE + Ia32/EnableDisableInterrupts.nasm| GCC Ia32/EnableDisableInterrupts.S | GCC Ia32/EnablePaging64.nasm| GCC Ia32/EnablePaging64.S | GCC 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.
+; 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 +