]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem64.S
MdePkg/BaseLib: Add bit field population calculating methods
[mirror_edk2.git] / MdePkg / Library / BaseMemoryLibMmx / Ia32 / SetMem64.S
index efd24ae2ed147ce8d69e2c686f4ec896aef35b5a..53379ad0efd73c61abd48c957082488a869bc3b5 100644 (file)
@@ -1,10 +1,10 @@
 #------------------------------------------------------------------------------\r
 #\r
-# Copyright (c) 2006, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
+# Copyright (c) 2006, 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
+# http://opensource.org/licenses/bsd-license.php.\r
 #\r
 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl _InternalMemSetMem64\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem64)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID *\r
@@ -31,7 +31,7 @@
 #    IN UINT64 Value\r
 #    )\r
 #------------------------------------------------------------------------------\r
-_InternalMemSetMem64:\r
+ASM_PFX(InternalMemSetMem64):\r
     movl    4(%esp), %eax\r
     movl    8(%esp), %ecx\r
     movq    12(%esp), %mm0\r
@@ -39,5 +39,5 @@ _InternalMemSetMem64:
 L0:\r
     movq    %mm0, (%edx)\r
     lea     8(%edx), %edx\r
-    loopl   L0\r
+    loop    L0\r
     ret\r