From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Anisha Kaul <anisha.kaul@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] Function for writing to serial port through Xenomai API
Date: Mon, 09 Nov 2009 11:37:24 +0100 [thread overview]
Message-ID: <4AF7F0E4.1020800@domain.hid> (raw)
In-Reply-To: <200911091459.18335.anisha.kaul@domain.hid>
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
next prev parent reply other threads:[~2009-11-09 10:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-11-09 11:44 Anisha Kaul
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=4AF7F0E4.1020800@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=anisha.kaul@domain.hid \
--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.