src/add-ons/kernel/bus_managers/acpi/acpica/components/events/evevent.c
/*******************************************************************************
 *
 * FUNCTION:    AcpiEvInstallXruptHandlers
 *
 * PARAMETERS:  None
 *
 * RETURN:      Status
 *
 * DESCRIPTION: Install interrupt handlers for the SCI and Global Lock
 *
 ******************************************************************************/


Status

Install interrupt handlers for the SCI and Global Lock
Status Install interrupt handlers for the SCI and Global Lock
ACPI_STATUS
AcpiEvInstallXruptHandlers (
    void)
{
    ACPI_STATUS             Status;
    ACPI_FUNCTION_TRACE (EvInstallXruptHandlers);
    if (AcpiGbl_ReducedHardware)
    {
        return_ACPI_STATUS (AE_OK);
    }
    Status = AcpiEvInstallSciHandler ();
    if (ACPI_FAILURE (Status))
    {
        ACPI_EXCEPTION ((AE_INFO, Status,
            "Unable to install System Control Interrupt handler"));
        return_ACPI_STATUS (Status);
    }
    Status = AcpiEvInitGlobalLockHandler ();
    if (ACPI_FAILURE (Status))
    {
        ACPI_EXCEPTION ((AE_INFO, Status,
            "Unable to initialize Global Lock handler"));
        return_ACPI_STATUS (Status);
    }
    AcpiGbl_EventsInitialized = TRUE;
    return_ACPI_STATUS (Status);
}
ACPI_STATUS AcpiEvInstallXruptHandlers ( void ) { ACPI_STATUS Status ; ACPI_FUNCTION_TRACE ( EvInstallXruptHandlers ) ; if ( AcpiGbl_ReducedHardware ) { return_ACPI_STATUS ( AE_OK ) ; } Status = AcpiEvInstallSciHandler ( ) ; if ( ACPI_FAILURE ( Status ) ) { ACPI_EXCEPTION ( ( AE_INFO , Status , " " ) ) ; return_ACPI_STATUS ( Status ) ; } Status = AcpiEvInitGlobalLockHandler ( ) ; if ( ACPI_FAILURE ( Status ) ) { ACPI_EXCEPTION ( ( AE_INFO , Status , " " ) ) ; return_ACPI_STATUS ( Status ) ; } AcpiGbl_EventsInitialized = TRUE ; return_ACPI_STATUS ( Status ) ; }
FUNCTION:    AcpiEvInstallXruptHandlers
 PARAMETERS:  None
FUNCTION : AcpiEvInstallXruptHandlers PARAMETERS : None
/* If Hardware Reduced flag is set, there is no ACPI h/w */ /* Install the SCI handler */ /* Install the handler for the Global Lock */