All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] how to force task switch to primary mode
@ 2015-11-25 17:20 JK.Behnke
  2015-11-25 17:40 ` Johann Obermayr
  2015-11-28 11:31 ` Gilles Chanteperdrix
  0 siblings, 2 replies; 3+ messages in thread
From: JK.Behnke @ 2015-11-25 17:20 UTC (permalink / raw)
  To: xenomai

   Hello,

   an rtdm driver that I use requires the rt_dev_open call to be executed
   in primary mode.
   With xenomai 2.4.2 it was possible to switch to primary mode using
   rt_task_set_mode(0, T_PRIMARY, NULL);

   Now I use xenomai 2.6.3, but I can't find the T_PRIMARY flag.
   Is there an other alternative to force the task to switch to primary
   mode?

   Would I have to change the rtdm driver, so xenomai performs the mode
   switch automatically?

   Thanks in advance for any hint.
   Jochen

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

end of thread, other threads:[~2015-11-28 11:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-25 17:20 [Xenomai] how to force task switch to primary mode JK.Behnke
2015-11-25 17:40 ` Johann Obermayr
2015-11-28 11:31 ` 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.