All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomas Kalibera <kalibera@domain.hid>
To: xenomai@xenomai.org
Subject: [Xenomai-help] Direct access to I/O ports and physical memory from user-space
Date: Tue, 25 Mar 2008 22:25:10 -0400	[thread overview]
Message-ID: <47E9B406.8030407@domain.hid> (raw)

Hello,

is it possible to access I/O port on x86 solely from Xenomai user-space 
primary domain ? I assume that iopl() and then outb(), inb() should 
work. But, how to avoid switches to secondary domain ?

Similarly, for physical memory, there is an example in Xenomai 
distribution that mmaps /dev/mem. Is there a way to avoid switches here ?

Thanks,
Tomas



             reply	other threads:[~2008-03-26  2:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-26  2:25 Tomas Kalibera [this message]
2008-03-26 10:36 ` [Xenomai-help] Direct access to I/O ports and physical memory from user-space M. Koehrer

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=47E9B406.8030407@domain.hid \
    --to=kalibera@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.