From: Philippe Gerum <rpm@xenomai.org>
To: xenomai@xenomai.org
Subject: Re: [Xenomai-core] Ipipe breaks my MPC8541 board boot
Date: Tue, 03 Jan 2012 19:04:34 +0100 [thread overview]
Message-ID: <4F034332.3040708@domain.hid> (raw)
In-Reply-To: <4F0341CA.9080101@domain.hid>
On 01/03/2012 06:58 PM, Gilles Chanteperdrix wrote:
> On 01/03/2012 06:49 PM, Jean-Michel Hautbois wrote:
>> cpm2_cascade is dedicated to my board, but has nothing impressive :
>> static void cpm2_cascade(unsigned int irq, struct irq_desc *desc)
>> {
>> int cascade_irq;
>>
>> while ((cascade_irq = cpm2_get_irq())>= 0)
>> generic_handle_irq(cascade_irq);
>
> Replace generic_handle_irq with ipipe_handle_chained_irq.
>
You have to fixup the eoi handling as well, check how this is done in
arch/powerpc/platforms/85xx/sbc8560.c.
--
Philippe.
next prev parent reply other threads:[~2012-01-03 18:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-03 17:49 [Xenomai-core] Ipipe breaks my MPC8541 board boot Jean-Michel Hautbois
2012-01-03 17:58 ` Gilles Chanteperdrix
2012-01-03 18:04 ` Philippe Gerum [this message]
2012-01-03 18:13 ` Jean-Michel Hautbois
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=4F034332.3040708@domain.hid \
--to=rpm@xenomai.org \
--cc=xenomai@xenomai.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 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.