From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:52952) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFQ23-0008C9-5f for qemu-devel@nongnu.org; Tue, 12 Mar 2013 10:18:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFQ1y-0002Oh-Bp for qemu-devel@nongnu.org; Tue, 12 Mar 2013 10:18:23 -0400 Received: from mail-ee0-f41.google.com ([74.125.83.41]:40930) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFQ1y-0002Ob-6p for qemu-devel@nongnu.org; Tue, 12 Mar 2013 10:18:18 -0400 Received: by mail-ee0-f41.google.com with SMTP id c13so2720288eek.14 for ; Tue, 12 Mar 2013 07:18:17 -0700 (PDT) Date: Tue, 12 Mar 2013 15:18:14 +0100 From: "Edgar E. Iglesias" Message-ID: <20130312141814.GB19147@zapo> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] Hard Interrupt code in Qemu ! List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Muhammad Nouman Cc: qemu-devel@nongnu.org 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