From 6741aad96b054c6cdf4d7d80dedc184646a83873 Mon Sep 17 00:00:00 2001 From: eric_tian Date: Mon, 7 Dec 2009 04:15:00 +0000 Subject: [PATCH] according to IA32 intel architecture spec, mwait instuction needs not the operands. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9527 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/BaseLib/Ia32/Mwait.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdePkg/Library/BaseLib/Ia32/Mwait.S b/MdePkg/Library/BaseLib/Ia32/Mwait.S index fc776166ea..18a3717481 100644 --- a/MdePkg/Library/BaseLib/Ia32/Mwait.S +++ b/MdePkg/Library/BaseLib/Ia32/Mwait.S @@ -34,5 +34,5 @@ ASM_GLOBAL ASM_PFX(AsmMwait) ASM_PFX(AsmMwait): movl 4(%esp), %eax movl 8(%esp), %ecx - mwait %eax, %ecx # mwait + mwait ret