]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/InterlockedCompareExchange64.S
Adding OldMdePkg directory - prior to the move of the content of MdePkg, also updatin...
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / InterlockedCompareExchange64.S
index 383503fbfe985aacf22b46d33eca103e35bff2d6..98a20a5e294a4aba7b0ba807e5f8d189dbdc7793 100644 (file)
@@ -21,9 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-\r
-\r
-     \r
+.globl ASM_PFX(InternalSyncCompareExchange64)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT64\r
 #   IN      UINT64                    ExchangeValue\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.global _InternalSyncCompareExchange64\r
-_InternalSyncCompareExchange64:\r
+ASM_PFX(InternalSyncCompareExchange64):\r
     push    %esi\r
     push    %ebx\r
-    movl    12(%esp),%esi\r
-    movl    16(%esp),%eax\r
-    movl    20(%esp),%edx\r
-    movl    24(%esp),%ebx\r
-    movl    28(%esp),%ecx\r
-    lock    \r
+    movl    12(%esp), %esi\r
+    movl    16(%esp), %eax\r
+    movl    20(%esp), %edx\r
+    movl    24(%esp), %ebx\r
+    movl    28(%esp), %ecx\r
+    lock\r
     cmpxchg8b   (%esi)\r
     pop     %ebx\r
     pop     %esi\r
     ret\r
-\r
-\r
-\r