All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] Function for writing to serial port through Xenomai API
@ 2009-11-09  9:29 Anisha Kaul
  2009-11-09 10:37 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 3+ messages in thread
From: Anisha Kaul @ 2009-11-09  9:29 UTC (permalink / raw)
  To: xenomai

Dear all,

I know that outb() being a linux system call can be used to write to the 
serial/parallel ports. Currently I am working on a real time operating system 
with Xenomai and a micro kernel. If I use outb() for port access, control 
will shift to the soft-real time linux which I don't want. Is there any way I 
can access ports using (Xenomai) functions rather than the linux system 
calls ?

Thanking you in anticipation,
Anisha Kaul

-------------------------------------
Hi-Tech Gears Limited, Gurgaon, India






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

* Re: [Xenomai-core] Function for writing to serial port through Xenomai API
  2009-11-09  9:29 [Xenomai-core] Function for writing to serial port through Xenomai API Anisha Kaul
@ 2009-11-09 10:37 ` Gilles Chanteperdrix
  0 siblings, 0 replies; 3+ messages in thread
From: Gilles Chanteperdrix @ 2009-11-09 10:37 UTC (permalink / raw)
  To: Anisha Kaul; +Cc: xenomai

Anisha Kaul wrote:
> Dear all,

Hi,

> 
> I know that outb() being a linux system call can be used to write to the 
> serial/parallel ports. Currently I am working on a real time operating system 
> with Xenomai and a micro kernel. If I use outb() for port access, control 
> will shift to the soft-real time linux which I don't want. Is there any way I 
> can access ports using (Xenomai) functions rather than the linux system 
> calls ?

Well, Xenomai has a real-time driver for the serial port, so, you could
use that. Other than that outb does not cause its caller to switch to
secondary mode if you have made the proper call to ioperm or iopl.

-- 
                                          Gilles



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

* [Xenomai-core] Function for writing to serial port through Xenomai API
@ 2009-11-09 11:44 Anisha Kaul
  0 siblings, 0 replies; 3+ messages in thread
From: Anisha Kaul @ 2009-11-09 11:44 UTC (permalink / raw)
  To: xenomai

Dear all,

Is there some way by which we can set a dead line for a real time task using 
Xenomai or any other way ?

Thanking you in anticipation,
Anisha Kaul


-------------------------------------
Hi-Tech Gears Limited, Gurgaon, India






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

end of thread, other threads:[~2009-11-09 11:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-09  9:29 [Xenomai-core] Function for writing to serial port through Xenomai API Anisha Kaul
2009-11-09 10:37 ` Gilles Chanteperdrix
  -- strict thread matches above, loose matches on Subject: below --
2009-11-09 11:44 Anisha Kaul

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.