FreeBSD/sys/contrib/dev/acpica/compiler/aslprepkg.c
/*******************************************************************************
 *
 * FUNCTION:    ApPackageTooLarge
 *
 * PARAMETERS:  PredefinedName      - Name of the predefined object
 *              Op                  - Current parser op
 *              Count               - Actual package element count
 *              ExpectedCount       - Expected package element count
 *
 * RETURN:      None
 *
 * DESCRIPTION: Issue a remark for a package that is larger than expected.
 *
 ******************************************************************************/
ApPackageTooLarge
PARAMETERS:  PredefinedName      - Name of the predefined object
Op                  - Current parser op
Count               - Actual package element count
ExpectedCount       - Expected package element count

None

Issue a remark for a package that is larger than expected.
ApPackageTooLarge PARAMETERS : PredefinedName - Name of the predefined object Op - Current parser op Count - Actual package element count ExpectedCount - Expected package element count None Issue a remark for a package that is larger than expected .
static void
ApPackageTooLarge (
    const char                  *PredefinedName,
    ACPI_PARSE_OBJECT           *Op,
    UINT32                      Count,
    UINT32                      ExpectedCount)
{
    sprintf (MsgBuffer, "%s: length is %u, only %u required",
        PredefinedName, Count, ExpectedCount);
    AslError (ASL_REMARK, ASL_MSG_RESERVED_PACKAGE_LENGTH, Op, MsgBuffer);
}
static void ApPackageTooLarge ( const char * PredefinedName , ACPI_PARSE_OBJECT * Op , UINT32 Count , UINT32 ExpectedCount ) { sprintf ( MsgBuffer , " " , PredefinedName , Count , ExpectedCount ) ; AslError ( ASL_REMARK , ASL_MSG_RESERVED_PACKAGE_LENGTH , Op , MsgBuffer ) ; }
FUNCTION:    ApPackageTooLarge
 PARAMETERS:  PredefinedName      - Name of the predefined object
              Op                  - Current parser op
              Count               - Actual package element count
              ExpectedCount       - Expected package element count
FUNCTION : ApPackageTooLarge PARAMETERS : PredefinedName - Name of the predefined object Op - Current parser op Count - Actual package element count ExpectedCount - Expected package element count