All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Brook <paul@codesourcery.com>
To: qemu-devel@nongnu.org
Cc: Roger Lathrop <ratchetr@sprynet.com>
Subject: Re: [Qemu-devel] Interrupt request info
Date: Wed, 1 Nov 2006 23:31:36 +0000	[thread overview]
Message-ID: <200611012331.38312.paul@codesourcery.com> (raw)
In-Reply-To: <002e01c6fe0d$0d434460$7e00a8c0@DELL3G>

On Wednesday 01 November 2006 23:25, Roger Lathrop wrote:
> Alessandro,
>
> All you should need to do to raise an IRQ in your code is:
> pic_set_irq(s->irq,1);
>
> When the irq is serviced (in one of your ioport traps, I would assume),
> knock the irq down:
> pic_set_irq(s->irq,0);

No. You should use pic_set_irq_new. Otherwise your code will break on machines 
with multiple interrupt controllers.

Paul

  reply	other threads:[~2006-11-01 23:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200611011205.1gFjwA1qs3Nl3pX2@cave.mail.atl.earthlink.net>
2006-11-01 23:25 ` Re:[Qemu-devel] Interrupt request info Roger Lathrop
2006-11-01 23:31   ` Paul Brook [this message]
2006-11-04 16:08     ` [Qemu-devel] " Alessandro Corradi
2006-11-06 14:39       ` Fwd: " Alessandro Corradi
2006-11-11 11:32     ` Alessandro Corradi
2006-11-12 15:46     ` Alessandro Corradi
2006-10-28  9:36 Alessandro Corradi
2006-10-28 19:01 ` Rob Landley

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=200611012331.38312.paul@codesourcery.com \
    --to=paul@codesourcery.com \
    --cc=qemu-devel@nongnu.org \
    --cc=ratchetr@sprynet.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.