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
This commit is contained in:
@@ -34,5 +34,5 @@ ASM_GLOBAL ASM_PFX(AsmMwait)
|
|||||||
ASM_PFX(AsmMwait):
|
ASM_PFX(AsmMwait):
|
||||||
movl 4(%esp), %eax
|
movl 4(%esp), %eax
|
||||||
movl 8(%esp), %ecx
|
movl 8(%esp), %ecx
|
||||||
mwait %eax, %ecx # mwait
|
mwait
|
||||||
ret
|
ret
|
||||||
|
Reference in New Issue
Block a user