Added support for software interrupts