All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@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:52:09 +0100	[thread overview]
Message-ID: <1295290329.1857.59.camel@domain.hid> (raw)
In-Reply-To: <008e01cbb675$a916be60$fb443b20$@innovative-dsp.com>

On Mon, 2011-01-17 at 10:37 -0800, 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?
> 

This is getting silly. Please make sure to use anything you may have
been given to do your work, by order of usefulness:

- brain,
- documentation,
- computer.

You obviously have a computer, so, if you are missing any other item
from this list, please make sure to get the complete package before
posting anew.

Also, please stop posting whatever code you happen to perpetrate to this
list: it gives anyone with a functional brain a huge feeling of
seasickness.

Final note: this list is not a cheap helpdesk to get his work done for
free. Everyone has to do some efforts to keep things rolling.

Thanks (I'm trying hard to mean it).

> Thanks,
> Peter Hua
> Innovative Integration
> 805-578-4275
> 
> 
> -----Original Message-----
> From: Gilles Chanteperdrix [mailto:gilles.chanteperdrix@xenomai.org] 
> Sent: Monday, January 17, 2011 9:03 AM
> To: Peter Hua
> Cc: xenomai@xenomai.org; pwfhua@domain.hid
> Subject: Re: [Xenomai-help] Xenomai mmap
> 
> Peter Hua wrote:
> > Is there any example code to map PCI registers into user space?  I am having
> > problem getting functions rtdm_iomap_to_user and mmap to compile.   My code
> > is attached.  
> 
> What platform? What error message do you get?
> 

-- 
Philippe.




  parent reply	other threads:[~2011-01-17 18:52 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
2011-01-17 18:52     ` Philippe Gerum [this message]
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=1295290329.1857.59.camel@domain.hid \
    --to=rpm@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.