]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/X64/WriteMm1.S
Fixed GCC 4.4 build issue. Also fixed issue where upper 32-bits may be lost during...
[mirror_edk2.git] / MdePkg / Library / BaseLib / X64 / WriteMm1.S
index d5262df2c1c01c3cad5f68bdf493f2e2ca1d6ee1..163e1674b4e27c3c030a8c720a62f82f2fb37524 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
@@ -29,7 +29,7 @@
 #   IN UINT64   Value\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.global ASM_PFX(AsmWriteMm1)\r
+ASM_GLOBAL ASM_PFX(AsmWriteMm1)\r
 ASM_PFX(AsmWriteMm1):\r
-    movd       %rcx, %mm1\r
+    movd  %rcx, %mm1\r
     ret\r