All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heikki Lindholm <holindho@domain.hid>
To: "张 静" <zhang_jing_bit@domain.hid>
Cc: adeos-main@gna.org
Subject: Re: [Adeos-main] Why is __adeos_irq_regs only updated when a timer IRQ	is caught?
Date: Mon, 12 Dec 2005 11:11:04 +0200	[thread overview]
Message-ID: <439D3EA8.4070800@domain.hid> (raw)
In-Reply-To: <BAY14-F198BE7F001241582B02E46C0460@domain.hid>

张 静 kirjoitti:
> Hi, all,
> 
> I have no idea about why __adeos_irq_regs is only updated when a timer 
> IRQ is caught. Does it means its value doesn't matter to other irq 
> handlers? I'am working on version 2.4r12 for ARM.

If you look at the irq handlers you'll see that most don't use the regs
parameter
and there have been talks about removing it altogether from the kernel.
Also,
if you think about the irq replaying scheme of Adeos and how you would
implement
saving the regs for every (to be) replayed interrupt, maybe you'll see
the point of
doing only the necessary reg saving in Adeos.

-- Heikki Lindholm


  reply	other threads:[~2005-12-12  9:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-12  8:05 [Adeos-main] Why is __adeos_irq_regs only updated when a timer IRQ is caught? 张 静
2005-12-12  9:11 ` Heikki Lindholm [this message]
2005-12-12 12:27   ` [Adeos-main] Why is __adeos_irq_regs only updated when a timerIRQ " Zhang Jing

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=439D3EA8.4070800@domain.hid \
    --to=holindho@domain.hid \
    --cc=adeos-main@gna.org \
    --cc=zhang_jing_bit@domain.hid \
    /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.