From: Philippe Gerum <rpm@xenomai.org>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] Preventing kernel misconfiguration.
Date: Thu, 06 Apr 2006 19:28:59 +0200 [thread overview]
Message-ID: <44354FDB.9060106@domain.hid> (raw)
In-Reply-To: <17461.19934.435991.242022@domain.hid>
Gilles Chanteperdrix wrote:
> Here is a patch that "selects" the I-pipe option when Xenomai is
> enabled, it should help preventing kernel misconfigurations.
>
We definitely need this.
>
>
> ------------------------------------------------------------------------
>
> Index: scripts/Kconfig.frag
> ===================================================================
> --- scripts/Kconfig.frag (revision 895)
> +++ scripts/Kconfig.frag (working copy)
> @@ -4,7 +4,14 @@
> config XENOMAI
> bool "Xenomai"
> default y
> + select IPIPE
>
> + help
> + Xenomai is a real-time extension to the Linux kernel. Note
> + that Xenomai relies on Adeos interrupt pipeline (CONFIG_IPIPE
> + option) to be enabled, so enabling this option selects the
> + CONFIG_IPIPE option.
> +
> source "arch/@LINUX_ARCH@/xenomai/Kconfig"
>
> endmenu
> Index: ksrc/arch/powerpc/Config.in
> ===================================================================
> --- ksrc/arch/powerpc/Config.in (revision 895)
> +++ ksrc/arch/powerpc/Config.in (working copy)
> @@ -1,15 +1,19 @@
> mainmenu_option next_comment
> comment 'Real-time sub-system'
>
> -bool 'Xenomai' CONFIG_XENOMAI
> +if [ "$CONFIG_IPIPE" = "n" ]; then
> + comment "Xenomai depends on Adeos interrupt pipeline"
> +else
> + bool 'Xenomai' CONFIG_XENOMAI
>
> -source kernel/xenomai/Config.in
> + source kernel/xenomai/Config.in
>
> -if [ "$CONFIG_XENOMAI" = "y" -a "$CONFIG_XENO_OPT_NUCLEUS" != "n" ]; then
> + if [ "$CONFIG_XENOMAI" = "y" -a "$CONFIG_XENO_OPT_NUCLEUS" != "n" ]; then
> mainmenu_option next_comment
> comment 'Machine'
> bool 'Enable FPU support' CONFIG_XENO_HW_FPU
> endmenu
> + fi
> fi
>
> endmenu
> Index: ksrc/arch/i386/Config.in
> ===================================================================
> --- ksrc/arch/i386/Config.in (revision 895)
> +++ ksrc/arch/i386/Config.in (working copy)
> @@ -1,11 +1,14 @@
> mainmenu_option next_comment
> comment 'Real-time sub-system'
>
> -bool 'Xenomai' CONFIG_XENOMAI
> +if [ "$CONFIG_IPIPE" = "n" ]; then
> + comment "Xenomai depends on Adeos interrupt pipeline"
> +else
> + bool 'Xenomai' CONFIG_XENOMAI
>
> -source kernel/xenomai/Config.in
> + source kernel/xenomai/Config.in
>
> -if [ "$CONFIG_XENOMAI" = "y" -a "$CONFIG_XENO_OPT_NUCLEUS" != "n" ]; then
> + if [ "$CONFIG_XENOMAI" = "y" -a "$CONFIG_XENO_OPT_NUCLEUS" != "n" ]; then
>
> mainmenu_option next_comment
> comment 'Machine'
> @@ -42,6 +45,7 @@
> fi
> endmenu
> endmenu
> + fi
> fi
>
> endmenu
>
--
Philippe.
next prev parent reply other threads:[~2006-04-06 17:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-06 17:20 [Xenomai-core] Preventing kernel misconfiguration Gilles Chanteperdrix
2006-04-06 17:28 ` Philippe Gerum [this message]
2006-04-06 20:47 ` Jan Kiszka
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=44354FDB.9060106@domain.hid \
--to=rpm@xenomai.org \
--cc=gilles.chanteperdrix@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.