From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCR8A-0003bJ-1V for qemu-devel@nongnu.org; Wed, 30 Jul 2014 06:29:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XCR83-0001Qw-UK for qemu-devel@nongnu.org; Wed, 30 Jul 2014 06:29:09 -0400 Received: from mailsender.cdac.in ([196.1.113.117]:49806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCR83-0001Mm-5J for qemu-devel@nongnu.org; Wed, 30 Jul 2014 06:29:03 -0400 Received: from mailhub2.pune.cdac.in (mailhub2.pune.cdac.in [10.208.1.6]) by mailsender.cdac.in (8.14.2/8.14.2) with ESMTP id s6UASIsM031809 for ; Wed, 30 Jul 2014 15:58:23 +0530 Received: from mailhub.pune.cdac.in (mailhub.pune.cdac.in [10.208.1.7]) by mailhub2.pune.cdac.in (8.14.4/8.14.4) with ESMTP id s6UASCxb004878 for ; Wed, 30 Jul 2014 15:58:12 +0530 Received: from mailgw.pune.cdac.in (mailgw.pune.cdac.in [10.208.1.4]) by mailhub.pune.cdac.in (8.13.4/8.13.4) with ESMTP id s6UAS6XV024450 for ; Wed, 30 Jul 2014 15:58:06 +0530 Received: from [10.242.10.44] ([10.242.10.1]) (authenticated bits=0) by mailgw.pune.cdac.in (8.14.2/8.13.8) with ESMTP id s6UASExZ001929 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 30 Jul 2014 15:58:15 +0530 Message-ID: <53D8C72F.90402@cdac.in> Date: Wed, 30 Jul 2014 15:51:35 +0530 From: Raghavendra MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] QEMU IRQ Emulation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hello, I am new to QEMU development. Recently I've added code to emulate mma7660 (i2c based accelerometer) device. Most of the device code is done, but now I wish to emulate even the IRQs. So my question is how do I emulate IRQs for a particular device? I need some coding guidance as to how to begin emulating IRQs. I am using arm-versatilepb as a testing platform. Thanks in advance. Raghavendra Rao ------------------------------------------------------------------------------------------------------------------------------- [ C-DAC is on Social-Media too. Kindly follow us at: Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ] This e-mail is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies and the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email is strictly prohibited and appropriate legal action will be taken. -------------------------------------------------------------------------------------------------------------------------------