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 +