FreeBSD/sys/contrib/dev/acpica/compiler/aslprepkg.c
/*******************************************************************************
 *
 * FUNCTION:    ApZeroLengthPackage
 *
 * PARAMETERS:  PredefinedName      - Name of the predefined object
 *              Op                  - Current parser op
 *
 * RETURN:      None
 *
 * DESCRIPTION: Issue error message for a zero-length package (a package that
 *              is required to have a non-zero length). Variable length
 *              packages seem to be allowed to have zero length, however.
 *              Even if not allowed, BIOS code does it.
 *
 ******************************************************************************/
ApZeroLengthPackage
PARAMETERS:  PredefinedName      - Name of the predefined object
Op                  - Current parser op

None

Issue error message for a zero-length package (a package that
is required to have a non-zero length). Variable length
packages seem to be allowed to have zero length, however.
Even if not allowed, BIOS code does it.
ApZeroLengthPackage PARAMETERS : PredefinedName - Name of the predefined object Op - Current parser op None Issue error message for a zero - length package ( a package that is required to have a non - zero length ) . Variable length packages seem to be allowed to have zero length however . Even if not allowed BIOS code does it .
static void
ApZeroLengthPackage (
    const char                  *PredefinedName,
    ACPI_PARSE_OBJECT           *Op)
{
    sprintf (MsgBuffer, "%s: length is zero", PredefinedName);
    AslError (ASL_ERROR, ASL_MSG_RESERVED_PACKAGE_LENGTH, Op, MsgBuffer);
}
static void ApZeroLengthPackage ( const char * PredefinedName , ACPI_PARSE_OBJECT * Op ) { sprintf ( MsgBuffer , " " , PredefinedName ) ; AslError ( ASL_ERROR , ASL_MSG_RESERVED_PACKAGE_LENGTH , Op , MsgBuffer ) ; }
FUNCTION:    ApZeroLengthPackage
 PARAMETERS:  PredefinedName      - Name of the predefined object
              Op                  - Current parser op
FUNCTION : ApZeroLengthPackage PARAMETERS : PredefinedName - Name of the predefined object Op - Current parser op