On Tue, Mar 12, 2013 at 05:53:51PM +0500, Muhammad Nouman wrote: > Hi ! i am trying to emulate mips on Qemu but at some point the kernel is > getting a hard interrupt from Qemu which the kernel is not able to understand > and makes it a spurious interrupt.Can any one tell me that which part of the > Qemu code will tell me the source or any information about that hard interrupt > so i can deal with that?
Hi, A good starting point is to look at: target-mips/helper.c: do_interrupt() These are also useful: target-mips/cpu.h: cpu_mips_hw_interrupts_pending() hw/mips_int.c Cheers, Edgar