]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/DivU64x64Remainder.S
1. Port X64, IPF and EBC arch for BaseLib
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / DivU64x64Remainder.S
index a122c70ab22d5e2c322430157c49d75592eedfe9..cac7169d58cf919730a79d58e095b0960404b243 100644 (file)
@@ -20,7 +20,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl _InternalMathDivRemU64x32, _InternalMathDivRemU64x64\r
+.globl ASM_PFX(InternalMathDivRemU64x32), ASM_PFX(InternalMathDivRemU64x64)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT64\r
@@ -31,7 +31,7 @@
 #   OUT     UINT64                    *Remainder    OPTIONAL\r
 #   );\r
 #------------------------------------------------------------------------------\r
-_InternalMathDivRemU64x64:\r
+ASM_PFX(InternalMathDivRemU64x64):\r
     movl    16(%esp), %ecx\r
     testl   %ecx, %ecx\r
     jnz     Hard\r
@@ -40,7 +40,7 @@ _InternalMathDivRemU64x64:
     and     $0, 4(%ecx)\r
     movl    %ecx, 16(%esp)\r
 L1:\r
-    jmp     _InternalMathDivRemU64x32\r
+    jmp     ASM_PFX(InternalMathDivRemU64x32)\r
 Hard:\r
     push    %ebx\r
     push    %esi\r