#------------------------------------------------------------------------------\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
#\r
# Module Name:\r
#\r
-# Mwait.Asm\r
+# Mwait.S\r
#\r
# Abstract:\r
#\r
#\r
#------------------------------------------------------------------------------\r
\r
-.globl _AsmMwait\r
+.globl ASM_PFX(AsmMwait)\r
\r
#------------------------------------------------------------------------------\r
# UINT64\r
# 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