From: Karim Yaghmour <karim@domain.hid>
To: mohan kumar <mohan_knb@domain.hid>
Cc: adeos-main@gna.org
Subject: Re: [Adeos-main] Re: My first tests with adeos!!!
Date: Tue, 18 Jun 2002 10:29:54 +0000 [thread overview]
Message-ID: <3D0F0BA2.969434A3@domain.hid> (raw)
In-Reply-To: 20020618071723.91139.qmail@domain.hid
Hello Mohan,
I've taken a summary look at the code and I think the following is
the problem:
mohan kumar wrote:
> ...
> case 0:
> adeos_control_irq(INT_NUM,0,IPIPE_PASS_MASK);
> break;
> ...
I don't think that adeos_control_irq() will work like this alone.
Have a look at arch/i386/ipipe.c:ipipe_handle_irq(). Notice that
the setting of interrupt flags for the various domains is done
prior to any domain handler being called. By disabling the passing
of the interrupts in domain_entry() as you do, all subsequent
interrupts are not passed on. What you actually do with
adeos_control_irq() in the interrupt handler only influences the
next round of interrupts. Given the code in the interrupt handler,
however, I think that you should be making the following call if
you want the interrupts to propagate the next time they occur:
adeos_control_irq(INT_NUM,IPIPE_PASS_MASK,1);
If you disabled the interrupt passing and would still want to
propagate the IRQ down the ipipe, then have a look at the latest
code in the CVS by Philippe. Particularily, try using
adeos_propagate_irq() in your handler.
Cheers,
Karim
===================================================
Karim Yaghmour
karim@domain.hid
Embedded and Real-Time Linux Expert
===================================================
next prev parent reply other threads:[~2002-06-18 10:29 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20020617120652.36799.qmail@domain.hid>
2002-06-17 12:42 ` [Adeos-main] Re: My first tests with adeos!!! Karim Yaghmour
2002-06-18 7:17 ` mohan kumar
2002-06-18 10:29 ` Karim Yaghmour [this message]
2002-06-18 10:34 ` Karim Yaghmour
2002-06-19 5:17 ` mohan kumar
2002-06-19 12:24 ` Philippe Gerum
2002-06-19 13:02 ` [Adeos-main] Address spaces in adeos Jacob Gorm Hansen
2002-06-20 0:21 ` Karim Yaghmour
2002-06-20 12:17 ` Jacob Gorm Hansen
2002-06-20 16:22 ` Karim Yaghmour
2002-06-21 8:00 ` Jacob Gorm Hansen
2002-06-19 21:32 ` [Adeos-main] Re: My first tests with adeos!!! Philippe Gerum
2002-06-18 7:29 ` [Adeos-main] Re: [rtai] " Guennadi Liakhovetski
2002-06-18 8:27 ` Wolfgang Denk
2002-06-18 7:39 ` [Adeos-main] " mohan kumar
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=3D0F0BA2.969434A3@domain.hid \
--to=karim@domain.hid \
--cc=adeos-main@gna.org \
--cc=mohan_knb@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.