All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] [PATCH] native registry dependencies
@ 2006-02-14 12:45 Jan Kiszka
  2006-02-14 16:20 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2006-02-14 12:45 UTC (permalink / raw)
  To: xenomai-core


[-- Attachment #1.1: Type: text/plain, Size: 172 bytes --]

Hi,

I'm sure now that the native registry is mandatory as soon as
CONFIG_XENO_OPT_PERVASIVE is selected. This patch enforces the selection
in such a scenario.

Jan

[-- Attachment #1.2: registry_dep.patch --]
[-- Type: text/plain, Size: 1385 bytes --]

Index: ksrc/skins/native/Kconfig
===================================================================
--- ksrc/skins/native/Kconfig	(revision 564)
+++ ksrc/skins/native/Kconfig	(working copy)
@@ -9,7 +9,8 @@
 if XENO_SKIN_NATIVE != n
 
 config XENO_OPT_NATIVE_REGISTRY
-	bool "Registry support"
+	bool
+	prompt "Registry support" if !XENO_OPT_PERVASIVE
 	default y
 	help
 	
Index: ksrc/skins/native/Config.in
===================================================================
--- ksrc/skins/native/Config.in	(revision 564)
+++ ksrc/skins/native/Config.in	(working copy)
@@ -7,8 +7,14 @@
 if [ "$CONFIG_XENO_SKIN_NATIVE" != "n" ]; then
 	mainmenu_option next_comment
 	comment 'Native interface options'
-	bool 'Registry support' CONFIG_XENO_OPT_NATIVE_REGISTRY
-	int 'Number of registry slots' CONFIG_XENO_OPT_NATIVE_REGISTRY_NRSLOTS 512
+	if [ "$CONFIG_XENO_OPT_PERVASIVE" != "n" ]; then
+		define_bool CONFIG_XENO_OPT_NATIVE_REGISTRY y
+	else
+		bool 'Registry support' CONFIG_XENO_OPT_NATIVE_REGISTRY
+	fi
+	if [ "$CONFIG_XENO_OPT_NATIVE_REGISTRY" != "n" ]; then
+		int 'Number of registry slots' CONFIG_XENO_OPT_NATIVE_REGISTRY_NRSLOTS 512
+	fi
 	dep_bool 'Message pipes' CONFIG_XENO_OPT_NATIVE_PIPE $CONFIG_XENO_OPT_PIPE
 	if [ "$CONFIG_XENO_OPT_NATIVE_PIPE" != "n" ]; then
 		int 'Bytes in buffer space' CONFIG_XENO_OPT_NATIVE_PIPE_BUFSZ 4096

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Xenomai-core] [PATCH] native registry dependencies
  2006-02-14 12:45 [Xenomai-core] [PATCH] native registry dependencies Jan Kiszka
@ 2006-02-14 16:20 ` Gilles Chanteperdrix
  0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2006-02-14 16:20 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: xenomai-core

Jan Kiszka wrote:
 > Hi,
 > 
 > I'm sure now that the native registry is mandatory as soon as
 > CONFIG_XENO_OPT_PERVASIVE is selected. This patch enforces the selection
 > in such a scenario.

Applied, thanks.

-- 


					    Gilles Chanteperdrix.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-02-14 16:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-14 12:45 [Xenomai-core] [PATCH] native registry dependencies Jan Kiszka
2006-02-14 16:20 ` Gilles Chanteperdrix

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.