port swi, irq handler && main finished