X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FIa32%2FDisableInterrupts.S;h=273410e9ed73657697fcbe1e702040e2a1e933aa;hb=bb817c56c51fabe92915fe30b168b4833cb2aed9;hp=cc9c95c30f657d9a4ccb9122ddcbcb28d282911a;hpb=975201130c7223ef29be7a28500ed107623fc4be;p=mirror_edk2.git diff --git a/MdePkg/Library/BaseLib/Ia32/DisableInterrupts.S b/MdePkg/Library/BaseLib/Ia32/DisableInterrupts.S index cc9c95c30f..273410e9ed 100644 --- a/MdePkg/Library/BaseLib/Ia32/DisableInterrupts.S +++ b/MdePkg/Library/BaseLib/Ia32/DisableInterrupts.S @@ -1,7 +1,7 @@ #------------------------------------------------------------------------------ # -# Copyright (c) 2006, Intel Corporation -# All rights reserved. This program and the accompanying materials +# Copyright (c) 2006 - 2008, 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 @@ -11,7 +11,7 @@ # # Module Name: # -# DisableInterrupts.Asm +# DisableInterrupts.S # # Abstract: # @@ -21,9 +21,7 @@ # #------------------------------------------------------------------------------ - - - +ASM_GLOBAL ASM_PFX(DisableInterrupts) #------------------------------------------------------------------------------ # VOID @@ -32,10 +30,6 @@ # VOID # ); #------------------------------------------------------------------------------ -.global _DisableInterrupts -_DisableInterrupts: +ASM_PFX(DisableInterrupts): cli ret - - -