qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Fabrice Bellard <fabrice@bellard.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [RFC] IRQ acknowledge on MIPS
Date: Tue, 23 Jan 2007 21:22:51 +0100	[thread overview]
Message-ID: <45B66E9B.20100@bellard.org> (raw)
In-Reply-To: <200701231540.52240.paul@codesourcery.com>

Paul Brook wrote:
>>It should be good to have a well-defined modular IRQ routing
>>architecture in the Qemu.
> 
> 
> We've got most of one for the ARM targets (see hw/arm_pic.h). This file 
> contains both the target independent bits and the ARM specific bits for 
> emulating the CPU IRQ/FIQ pins.
> 
> Annother possibility to abstract this to use a single interrupt line object 
> rather than an {object,index} pair. This simplifies code that that raises 
> interrupts, at the expense of some complication in the code to create 
> interrupt controllers.

I prefer to have a new type 'QEMUBoolSignal' which can be used for any 
boolean signal. A function could be called to change its level and 
several clients could set a callback ("listener") to be informed that 
its level changes.

Regards,

Fabrice.

  reply	other threads:[~2007-01-23 20:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-23  0:48 [Qemu-devel] [RFC] IRQ acknowledge on MIPS Aurelien Jarno
2007-01-23  9:01 ` Aurelien Jarno
2007-01-23 15:27   ` Alexander Voropay
2007-01-23 15:40     ` Paul Brook
2007-01-23 20:22       ` Fabrice Bellard [this message]
2007-01-23 16:36     ` Aurelien Jarno
2007-01-23  9:06 ` Marius Groeger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45B66E9B.20100@bellard.org \
    --to=fabrice@bellard.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).