FreeBSD/sys/contrib/dev/acpica/components/tables/tbdata.c
/******************************************************************************
 *
 * FUNCTION:    AcpiTbValidateTempTable
 *
 * PARAMETERS:  TableDesc           - Table descriptor
 *
 * RETURN:      Status
 *
 * DESCRIPTION: This function is called to validate the table, the returned
 *              table descriptor is in "VALIDATED" state.
 *
 *****************************************************************************/


Status

This function is called to validate the table, the returned
table descriptor is in "VALIDATED" state.
Status This function is called to validate the table the returned table descriptor is in " VALIDATED " state .
ACPI_STATUS
AcpiTbValidateTempTable (
    ACPI_TABLE_DESC         *TableDesc)
{
    if (!TableDesc->Pointer && !AcpiGbl_VerifyTableChecksum)
    {
        TableDesc->Length = sizeof (ACPI_TABLE_HEADER);
    }
    return (AcpiTbValidateTable (TableDesc));
}
ACPI_STATUS AcpiTbValidateTempTable ( ACPI_TABLE_DESC * TableDesc ) { if ( ! TableDesc -> Pointer && ! AcpiGbl_VerifyTableChecksum ) { TableDesc -> Length = sizeof ( ACPI_TABLE_HEADER ) ; } return ( AcpiTbValidateTable ( TableDesc ) ) ; }
FUNCTION:    AcpiTbValidateTempTable
 PARAMETERS:  TableDesc           - Table descriptor
FUNCTION : AcpiTbValidateTempTable PARAMETERS : TableDesc - Table descriptor
/*
         * Only validates the header of the table.
         * Note that Length contains the size of the mapping after invoking
         * this work around, this value is required by
         * AcpiTbReleaseTempTable().
         * We can do this because in AcpiInitTableDescriptor(), the Length
         * field of the installed descriptor is filled with the actual
         * table length obtaining from the table header.
         */