]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/Mwait.S
Use #include "XXX.h" for module internal header files.
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / Mwait.S
index 1aad7cb357bccc7b342a01f1094a56269070ec71..9fd1efd0c9b58ddbc0a580618c12bec6884774ad 100644 (file)
@@ -1,6 +1,6 @@
 #------------------------------------------------------------------------------\r
 #\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2008, Intel Corporation\r
 # All rights reserved. This program and the accompanying materials\r
 # are licensed and made available under the terms and conditions of the BSD License\r
 # which accompanies this distribution.  The full text of the license may be found at\r
@@ -11,7 +11,7 @@
 #\r
 # Module Name:\r
 #\r
-#   Mwait.Asm\r
+#   Mwait.S\r
 #\r
 # Abstract:\r
 #\r
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.global _AsmMwait\r
+.globl ASM_PFX(AsmMwait)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT64\r
@@ -31,8 +31,8 @@
 #   IN      UINTN                     Ecx\r
 #   );\r
 #------------------------------------------------------------------------------\r
-_AsmMwait:\r
+ASM_PFX(AsmMwait):\r
     movl    4(%esp), %eax\r
     movl    8(%esp), %ecx\r
-    mwait   %eax, %ecx\r
+    mwait   %eax, %ecx                  # mwait\r
     ret\r