#\r
#------------------------------------------------------------------------------\r
\r
-\r
-\r
- \r
-\r
.global _InternalMathDivRemU64x32\r
-_InternalMathDivRemU64x32: \r
- movl 12(%esp),%ecx\r
- movl 8(%esp),%eax\r
- xorl %edx,%edx\r
+\r
+#------------------------------------------------------------------------------\r
+# UINT64\r
+# EFIAPI\r
+# InternalMathDivRemU64x32 (\r
+# IN UINT64 Dividend,\r
+# IN UINT32 Divisor,\r
+# OUT UINT32 *Remainder\r
+# );\r
+#------------------------------------------------------------------------------\r
+_InternalMathDivRemU64x32:\r
+ movl 12(%esp), %ecx\r
+ movl 8(%esp), %eax\r
+ xorl %edx, %edx\r
divl %ecx\r
- pushl %eax\r
- movl 8(%esp),%eax\r
+ push %eax\r
+ movl 8(%esp), %eax\r
divl %ecx\r
- movl 20(%esp),%ecx\r
+ movl 20(%esp), %ecx\r
jecxz L1\r
- movl %edx,(%ecx)\r
-L1: \r
- popl %edx\r
+ movl %edx, (%ecx)\r
+L1:\r
+ pop %edx\r
ret\r
-\r
-\r
-\r