intc: add function for retrieving IRQ handlers
Add a data pointer field to IRQ handlers
Add functionality to enable and disable IRQs