X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FX64%2FMwait.S;h=d3429e0025ad800c87eb487a4a00774ea7bcaf5a;hp=6967cb2d48a9561aeec8060ea5768ca1e4ee0c37;hb=bb817c56c51fabe92915fe30b168b4833cb2aed9;hpb=b1ff428c96518b7f4810eff4688d60ac7c65fba5 diff --git a/MdePkg/Library/BaseLib/X64/Mwait.S b/MdePkg/Library/BaseLib/X64/Mwait.S index 6967cb2d48..d3429e0025 100644 --- a/MdePkg/Library/BaseLib/X64/Mwait.S +++ b/MdePkg/Library/BaseLib/X64/Mwait.S @@ -1,7 +1,7 @@ #------------------------------------------------------------------------------ # -# Copyright (c) 2006, Intel Corporation -# All rights reserved. This program and the accompanying materials +# Copyright (c) 2006 - 2009, 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 @@ -30,10 +30,9 @@ # IN UINTN Ecx # ); #------------------------------------------------------------------------------ -.global ASM_PFX(AsmMwait) -.align 16 +ASM_GLOBAL ASM_PFX(AsmMwait) ASM_PFX(AsmMwait): mov %ecx,%eax mov %edx,%ecx - mwait %rax,%rcx + mwait ret