]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/WriteMm3.S
Fix bug in AsmCpuVirtual() to return 1 instead of 0 when CPU is in virtual mode.
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / WriteMm3.S
index 01250e8f44b335073fd9be3a38106a7b9edef6a0..a898afaaed6abfaea2a934ce99b42ac0687b146d 100644 (file)
@@ -1,12 +1,7 @@
-//\r
-// Include common header file for this module.\r
-//\r
-#include "CommonHeader.h"\r
-\r
 #------------------------------------------------------------------------------\r
 #\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
+# Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
+# 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
 # http://opensource.org/licenses/bsd-license.php\r
@@ -16,7 +11,7 @@
 #\r
 # Module Name:\r
 #\r
-#   WriteMm3.Asm\r
+#   WriteMm3.S\r
 #\r
 # Abstract:\r
 #\r
@@ -33,7 +28,7 @@
 #   IN UINT64   Value\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(AsmWriteMm3)\r
+ASM_GLOBAL ASM_PFX(AsmWriteMm3)\r
 ASM_PFX(AsmWriteMm3):\r
     movq    4(%esp), %mm3\r
     ret\r