All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Peter Hua <Phua@domain.hid>
Cc: xenomai@xenomai.org, pwfhua@domain.hid
Subject: Re: [Xenomai-help] Xenomai mmap
Date: Mon, 17 Jan 2011 19:40:39 +0100	[thread overview]
Message-ID: <4D348D27.5000907@domain.hid> (raw)
In-Reply-To: <008e01cbb675$a916be60$fb443b20$@innovative-dsp.com>

Peter Hua wrote:
> Platform: X86, 64-bit
> 
> Thanks for the API linke.  I have recoded to not use
> "rtdm_iomap_to_user" and used the mmap call.  However, I am not able
> to open the driver with the open() call.  It returned -1.   Any
> suggestion?  Example?

Suggestion? I do not know, buy a book on the POSIX API?

-- 
                                                                Gilles.


  reply	other threads:[~2011-01-17 18:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-17 16:59 [Xenomai-help] Xenomai mmap Peter Hua
2011-01-17 17:03 ` Gilles Chanteperdrix
2011-01-17 18:37   ` Peter Hua
2011-01-17 18:40     ` Gilles Chanteperdrix [this message]
2011-01-17 18:52     ` Philippe Gerum
2011-01-17 22:10       ` Peter Hua
2011-01-17 18:08 ` Gilles Chanteperdrix
2011-01-17 18:43   ` Peter Hua
2011-01-17 18:45     ` Gilles Chanteperdrix
2011-01-17 18:44   ` Peter Hua
2011-01-17 18:54     ` Gilles Chanteperdrix

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=4D348D27.5000907@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=Phua@domain.hid \
    --cc=pwfhua@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.