sys/contrib/dev/acpica-unix/tools/acpiexec/aehandlers.c
static void
AeDeviceNotifyHandler (
    ACPI_HANDLE                 Device,
    UINT32                      Value,
    void                        *Context)
{

    printf ("[AcpiExec] Received a Device Notify on [%4.4s] %p Value 0x%2.2X (%s)\n",
        AcpiUtGetNodeName (Device), Device, Value,
        AcpiUtGetNotifyName (Value));
    if (AcpiGbl_DebugFile)
    {
        AcpiOsPrintf ("[AcpiExec] Received a device notify, Value 0x%2.2X\n", Value);
    }

    (void) AcpiEvaluateObject (Device, "_NOT", NULL, NULL);
}
/******************************************************************************
 *
 * FUNCTION:    AeDeviceNotifyHandler
 *
 * PARAMETERS:  Standard notify handler parameters
 *
 * RETURN:      Status
 *
 * DESCRIPTION: Device notify handler for AcpiExec utility.  Used by the ASL
 *              test suite(s) to communicate errors and other information to
 *              this utility via the Notify() operator.
 *
 *****************************************************************************/
AeDeviceNotifyHandler
PARAMETERS:  Standard notify handler parameters

Status

Device notify handler for AcpiExec utility.  Used by the ASL
test suite(s) to communicate errors and other information to
this utility via the Notify() operator.
AeDeviceNotifyHandler PARAMETERS : Standard notify handler parameters Status Device notify handler for AcpiExec utility . Used by the ASL test suite ( s ) to communicate errors and other information to this utility via the Notify () operator .
static void
AeDeviceNotifyHandler (
    ACPI_HANDLE                 Device,
    UINT32                      Value,
    void                        *Context)
{
    printf ("[AcpiExec] Received a Device Notify on [%4.4s] %p Value 0x%2.2X (%s)\n",
        AcpiUtGetNodeName (Device), Device, Value,
        AcpiUtGetNotifyName (Value));
    if (AcpiGbl_DebugFile)
    {
        AcpiOsPrintf ("[AcpiExec] Received a device notify, Value 0x%2.2X\n", Value);
    }
    (void) AcpiEvaluateObject (Device, "_NOT", NULL, NULL);
}
static void AeDeviceNotifyHandler ( ACPI_HANDLE Device , UINT32 Value , void * Context ) { printf ( " \n " , AcpiUtGetNodeName ( Device ) , Device , Value , AcpiUtGetNotifyName ( Value ) ) ; if ( AcpiGbl_DebugFile ) { AcpiOsPrintf ( " \n " , Value ) ; } ( void ) AcpiEvaluateObject ( Device , " " , NULL , NULL ) ; }
FUNCTION:    AeDeviceNotifyHandler
 PARAMETERS:  Standard notify handler parameters
FUNCTION : AeDeviceNotifyHandler PARAMETERS : Standard notify handler parameters