rem: if ((uint32)(cookie) == ACPI_BITREG_POWER_BUTTON_STATUS) acpi->write_acpi_reg(ACPI_BITREG_POWER_BUTTON_ENABLE,1); else if ((uint32)(cookie) == ACPI_BITREG_SLEEP_BUTTON_STATUS) acpi->write_acpi_reg(ACPI_BITREG_SLEEP_BUTTON_ENABLE,1);
add: acpi->disable_fixed_event((uint32)(cookie));
context: acpi_button_close (void* cookie){	if ((uint32)(cookie) == ACPI_BITREG_POWER_BUTTON_STATUS)		acpi->write_acpi_reg(ACPI_BITREG_POWER_BUTTON_ENABLE,1);	else if ((uint32)(cookie) == ACPI_BITREG_SLEEP_BUTTON_STATUS)		acpi->write_acpi_reg(ACPI_BITREG_SLEEP_BUTTON_ENABLE,1);	return B_OK;}