FreeBSD/sys/contrib/dev/acpica/compiler/dtexpress.c
/******************************************************************************
 *
 * FUNCTION:    DtResolveIntegerExpression
 *
 * PARAMETERS:  Field               - Field object with Integer expression
 *              ReturnValue         - Where the integer is returned
 *
 * RETURN:      Status, and the resolved 64-bit integer value
 *
 * DESCRIPTION: Resolve an integer expression to a single value. Supports
 *              both integer constants and labels.
 *
 *****************************************************************************/
DtResolveIntegerExpression
PARAMETERS:  Field               - Field object with Integer expression
ReturnValue         - Where the integer is returned

Status, and the resolved 64-bit integer value

Resolve an integer expression to a single value. Supports
both integer constants and labels.
DtResolveIntegerExpression PARAMETERS : Field - Field object with Integer expression ReturnValue - Where the integer is returned Status and the resolved 64 - bit integer value Resolve an integer expression to a single value . Supports both integer constants and labels .
ACPI_STATUS
DtResolveIntegerExpression (
    DT_FIELD                *Field,
    UINT64                  *ReturnValue)
{
    UINT64                  Result;
    DbgPrint (ASL_DEBUG_OUTPUT, "Full Integer expression: %s\n",
        Field->Value);
    Gbl_CurrentField = Field;
    Result = DtEvaluateExpression (Field->Value);
    *ReturnValue = Result;
    return (AE_OK);
}
ACPI_STATUS DtResolveIntegerExpression ( DT_FIELD * Field , UINT64 * ReturnValue ) { UINT64 Result ; DbgPrint ( ASL_DEBUG_OUTPUT , " \n " , Field -> Value ) ; Gbl_CurrentField = Field ; Result = DtEvaluateExpression ( Field -> Value ) ; * ReturnValue = Result ; return ( AE_OK ) ; }
FUNCTION:    DtResolveIntegerExpression
 PARAMETERS:  Field               - Field object with Integer expression
              ReturnValue         - Where the integer is returned
FUNCTION : DtResolveIntegerExpression PARAMETERS : Field - Field object with Integer expression ReturnValue - Where the integer is returned