completed c_irq_handler