* Initialize the Fixed and General Purpose Events. This is * done prior to enabling SCIs to prevent interrupts from * occurring before handers are installed.
* Initialize the Fixed and General Purpose Events. This is done prior to * enabling SCIs to prevent interrupts from occurring before the handlers are * installed.
acpi_ev_initialize_events (	void){	acpi_status                     status;	ACPI_FUNCTION_TRACE ("ev_initialize_events");	/* Make sure we have ACPI tables */	if (!acpi_gbl_DSDT) {		ACPI_DEBUG_PRINT ((ACPI_DB_WARN, "No ACPI tables present!\n"));		return_ACPI_STATUS (AE_NO_ACPI_TABLES);	}	/*	 * Initialize the Fixed and General Purpose Events. This is	 * done prior to enabling SCIs to prevent interrupts from	 * occurring before handers are installed.	 */	status = acpi_ev_fixed_event_initialize ();	if (ACPI_FAILURE (status)) {		ACPI_REPORT_ERROR ((				"Unable to initialize fixed events, %s\n",				acpi_format_exception (status)));		return_ACPI_STATUS (status);	}	status = acpi_ev_gpe_initialize ();	if (ACPI_FAILURE (status)) {		ACPI_REPORT_ERROR ((				"Unable to initialize general purpose events, %s\n",				acpi_format_exception (status)));		return_ACPI_STATUS (status);	}	return_ACPI_STATUS (status);}