All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: A C <adrien_chiron@domain.hid>
Cc: adeos <adeos-main@gna.org>
Subject: Re: [Adeos-main] hw interrupts off, __ipipe_handle_irq
Date: Wed, 20 Jan 2010 12:55:10 +0100	[thread overview]
Message-ID: <4B56EF1E.5080505@domain.hid> (raw)
In-Reply-To: <709633.57305.qm@domain.hid>

A C wrote:
> Hello, in the comment before the definition of the function
> __ipipe_handle_irq(), it is written : "hw interrupts are off on
> entry". For the isr of the nios2, is it done (disable hw interrupts)
> in entry.s or in __ipipe_grab_irq() ? In fact, we do not find where
> it is done. Regards Adrien Chiron & Vincent Vanbesien

That is standard behaviour for a processor to enter interrupt handling
code with interrupts disabled somehow. Otherwise, for level interrupts,
you would get an infinite loop. So, what you should look for in entry.S
are the points where interrupts are re-enabled, because this code is
entered with irqs off, mostly.

-- 
					    Gilles.


      reply	other threads:[~2010-01-20 11:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-19 13:13 [Adeos-main] hw interrupts off, __ipipe_handle_irq A C
2010-01-20 11:55 ` Gilles Chanteperdrix [this message]

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=4B56EF1E.5080505@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=adeos-main@gna.org \
    --cc=adrien_chiron@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.