Qualcomm interview question

how to design an interrupt controller