diff options
author | Mike Smith <msmith@FreeBSD.org> | 2001-11-28 04:29:40 +0000 |
---|---|---|
committer | Mike Smith <msmith@FreeBSD.org> | 2001-11-28 04:29:40 +0000 |
commit | de87ee3adafa4328c3afe008b058052873f4e60d (patch) | |
tree | 6b8691c238dc2893608d45924156125021b3fddb /sys/contrib/dev/acpica/utmath.c | |
parent | 0c794f32134774ae8f3645df68425c5f234a990e (diff) | |
download | src-de87ee3adafa4328c3afe008b058052873f4e60d.tar.gz src-de87ee3adafa4328c3afe008b058052873f4e60d.zip |
Vendor import of the Intel ACPI CA 20011120 snapshot.
Notes
Notes:
svn path=/vendor-sys/acpica/dist/; revision=87031
Diffstat (limited to 'sys/contrib/dev/acpica/utmath.c')
-rw-r--r-- | sys/contrib/dev/acpica/utmath.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/sys/contrib/dev/acpica/utmath.c b/sys/contrib/dev/acpica/utmath.c index f7bf84e2f80f..1ac8cf439b25 100644 --- a/sys/contrib/dev/acpica/utmath.c +++ b/sys/contrib/dev/acpica/utmath.c @@ -1,7 +1,7 @@ /******************************************************************************* * * Module Name: utmath - Integer math support routines - * $Revision: 7 $ + * $Revision: 8 $ * ******************************************************************************/ @@ -129,7 +129,7 @@ * library is not available. */ -#ifndef ACPI_USE_NATIVE_DIVIDE +#ifndef ACPI_USE_NATIVE_DIVIDE /******************************************************************************* * * FUNCTION: AcpiUtShortDivide @@ -175,9 +175,9 @@ AcpiUtShortDivide ( * The quotient is 64 bits, the remainder is always 32 bits, * and is generated by the second divide. */ - ACPI_DIV_64_BY_32 (0, Dividend.Part.Hi, Divisor, + ACPI_DIV_64_BY_32 (0, Dividend.Part.Hi, Divisor, Quotient.Part.Hi, Remainder32); - ACPI_DIV_64_BY_32 (Remainder32, Dividend.Part.Lo, Divisor, + ACPI_DIV_64_BY_32 (Remainder32, Dividend.Part.Lo, Divisor, Quotient.Part.Lo, Remainder32); /* Return only what was requested */ @@ -253,9 +253,9 @@ AcpiUtDivide ( * The quotient is 64 bits, the remainder is always 32 bits, * and is generated by the second divide. */ - ACPI_DIV_64_BY_32 (0, Dividend.Part.Hi, Divisor.Part.Lo, + ACPI_DIV_64_BY_32 (0, Dividend.Part.Hi, Divisor.Part.Lo, Quotient.Part.Hi, Partial1); - ACPI_DIV_64_BY_32 (Partial1, Dividend.Part.Lo, Divisor.Part.Lo, + ACPI_DIV_64_BY_32 (Partial1, Dividend.Part.Lo, Divisor.Part.Lo, Quotient.Part.Lo, Remainder.Part.Lo); } @@ -273,18 +273,18 @@ AcpiUtDivide ( do { - ACPI_SHIFT_RIGHT_64 (NormalizedDivisor.Part.Hi, + ACPI_SHIFT_RIGHT_64 (NormalizedDivisor.Part.Hi, NormalizedDivisor.Part.Lo); - ACPI_SHIFT_RIGHT_64 (NormalizedDividend.Part.Hi, + ACPI_SHIFT_RIGHT_64 (NormalizedDividend.Part.Hi, NormalizedDividend.Part.Lo); } while (NormalizedDivisor.Part.Hi != 0); /* Partial divide */ - ACPI_DIV_64_BY_32 (NormalizedDividend.Part.Hi, - NormalizedDividend.Part.Lo, - NormalizedDivisor.Part.Lo, + ACPI_DIV_64_BY_32 (NormalizedDividend.Part.Hi, + NormalizedDividend.Part.Lo, + NormalizedDivisor.Part.Lo, Quotient.Part.Lo, Partial1); /* @@ -351,8 +351,8 @@ AcpiUtDivide ( * DESCRIPTION: Native versions of the UtDivide functions. Use these if either * 1) The target is a 64-bit platform and therefore 64-bit * integer math is supported directly by the machine. - * 2) The target is a 32-bit or 16-bit platform, and the - * double-precision integer math library is available to + * 2) The target is a 32-bit or 16-bit platform, and the + * double-precision integer math library is available to * perform the divide. * ******************************************************************************/ |