]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/Mwait.nasm
MdePkg: Replace Opcode with the corresponding instructions.
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / Mwait.nasm
index 3956940cab11fb0afe598cc06633cb0e4dafbe28..2d36a97df6e4f966e04a4b0dfe9366a76790e8ae 100644 (file)
@@ -1,6 +1,6 @@
 ;------------------------------------------------------------------------------\r
 ;\r
-; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2006 - 2022, Intel Corporation. All rights reserved.<BR>\r
 ; SPDX-License-Identifier: BSD-2-Clause-Patent\r
 ;\r
 ; Module Name:\r
@@ -29,6 +29,6 @@ global ASM_PFX(AsmMwait)
 ASM_PFX(AsmMwait):\r
     mov     eax, [esp + 4]\r
     mov     ecx, [esp + 8]\r
-    DB      0xf, 1, 0xc9                ; mwait\r
+    mwait\r
     ret\r
 \r