From: Daniel Walker <dwalker@mvista.com>
To: Philippe Gerum <rpm@xenomai.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] I-pipe: x86 port
Date: Mon, 20 Jun 2005 14:58:46 -0700 [thread overview]
Message-ID: <1119304726.32310.19.camel@dhcp153.mvista.com> (raw)
In-Reply-To: <42B35B0F.1000302@xenomai.org>
On Sat, 2005-06-18 at 01:21 +0200, Philippe Gerum wrote:
> +#define local_save_flags(x) ((x) = __ipipe_test_root())
> +#define local_irq_save(x) ((x) = __ipipe_test_and_stall_root())
> +#define local_irq_restore(x) __ipipe_restore_root(x)
> +#define local_irq_disable() __ipipe_stall_root()
> +#define local_irq_enable() __ipipe_unstall_root()
> +
> +#define irqs_disabled() __ipipe_test_root()
If you want to integrate with newer RT patches , (I'm not sure which one
this is on) .. You could modify the above so that it uses the soft irq's
off flags . So if linux is in a soft irq disable than it's equal to a
stall on the ipipe ..
Daniel
next prev parent reply other threads:[~2005-06-20 22:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-17 23:21 Philippe Gerum
2005-06-20 21:58 ` Daniel Walker [this message]
2005-06-21 7:22 ` Philippe Gerum
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=1119304726.32310.19.camel@dhcp153.mvista.com \
--to=dwalker@mvista.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rpm@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®