mirror of
https://github.com/acpica/acpica/
synced 2025-02-25 01:44:33 +03:00
Divide interface changes
date 2004.10.05.22.47.00; author rmoore1; state Exp;
This commit is contained in:
parent
f6dc60bc31
commit
381a5a8781
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Module Name: exoparg2 - AML execution - opcodes with 2 arguments
|
||||
* $Revision: 1.123 $
|
||||
* $Revision: 1.124 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -304,8 +304,10 @@ AcpiExOpcode_2A_2T_1R (
|
||||
|
||||
/* Quotient to ReturnDesc1, remainder to ReturnDesc2 */
|
||||
|
||||
Status = AcpiUtDivide (&Operand[0]->Integer.Value, &Operand[1]->Integer.Value,
|
||||
&ReturnDesc1->Integer.Value, &ReturnDesc2->Integer.Value);
|
||||
Status = AcpiUtDivide (Operand[0]->Integer.Value,
|
||||
Operand[1]->Integer.Value,
|
||||
&ReturnDesc1->Integer.Value,
|
||||
&ReturnDesc2->Integer.Value);
|
||||
if (ACPI_FAILURE (Status))
|
||||
{
|
||||
goto Cleanup;
|
||||
@ -420,9 +422,10 @@ AcpiExOpcode_2A_1T_1R (
|
||||
|
||||
/* ReturnDesc will contain the remainder */
|
||||
|
||||
Status = AcpiUtDivide (&Operand[0]->Integer.Value,
|
||||
&Operand[1]->Integer.Value,
|
||||
NULL, &ReturnDesc->Integer.Value);
|
||||
Status = AcpiUtDivide (Operand[0]->Integer.Value,
|
||||
Operand[1]->Integer.Value,
|
||||
NULL,
|
||||
&ReturnDesc->Integer.Value);
|
||||
break;
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user