All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rodrigo Rosenfeld Rosas <lbocseg@domain.hid>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] RTDM mmap alternative
Date: Sat, 04 Feb 2006 09:44:07 -0300	[thread overview]
Message-ID: <43E4A197.6030801@domain.hid> (raw)
In-Reply-To: <43E46EDA.7060304@domain.hid>

Hi, Jan. I think I wasn't very clear on my post. I'll try to clarify 
what I meaned...

Jan Kiszka escreveu:
> Rodrigo Rosenfeld Rosas wrote:
>   
>> Hi Jan, I'm back on this discussion.
>>
>> At the time I asked you, you told me to do the mmap on driver
>> initialization.
>>
>> But now, I realized that, since I'll be using RTDM, how could I use
>> mmap from RTDM, even if in a non RT-context?
>>     
>
> Which mapping step are you now referring to, the one to get the large
> physical DMA area inside the kernel address space or the one to map
> kernel addresses to user space?
I'm refering to the second case. I want to map the kernel addresses to 
user space but I'm not very sure if I can do the same thing I did in my 
previous mmap call on an ioctl. I mean, I don't know if the kernel does 
something else in a mmap call... And since I don't have a mmap handler 
I'm a bit confusing...

>  Already checked the related LDD3 chapter for this?
>   
Yes, but it didn't answered to my doubts...
>> I'm a bit confusing...
>>
>> What would be others alternatives for avoid copying the video frames
>> in a RTDM driver?
>>     
>
> Either map or copy, there is no third way. The point is just which
> mapping functions to use and when.
>   
That is what I would like to know... Which mapping functions are 
available? Actually, if I can use the same I used on my previous mmap 
handler that is good. I'm just unsure if something will be missing or not...

I have also noted that there is no poll or select handler on RTDM. Are 
there some plans to include them?

Thank you,

Rodrigo.


		
_______________________________________________________
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora!
http://br.acesso.yahoo.com



  reply	other threads:[~2006-02-04 12:44 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-03 19:27 [Xenomai-help] RTDM mmap alternative Rodrigo Rosenfeld Rosas
2006-02-04  9:07 ` Jan Kiszka
2006-02-04 12:44   ` Rodrigo Rosenfeld Rosas [this message]
2006-02-04 12:41     ` Jan Kiszka
2006-02-04 14:19       ` Rodrigo Rosenfeld Rosas
2006-02-06 21:00       ` Rodrigo Rosenfeld Rosas
2006-02-07 17:38         ` Jan Kiszka
2006-02-07 19:22           ` Rodrigo Rosenfeld Rosas
2006-02-07 20:03             ` Jan Kiszka
2006-02-08  2:15               ` Rodrigo Rosenfeld Rosas
2006-02-08 12:43           ` Rodrigo Rosenfeld Rosas
2006-02-08 13:14             ` Jan Kiszka
2006-02-08 18:03               ` Rodrigo Rosenfeld Rosas
2006-02-08 18:26                 ` Jan Kiszka
2006-02-08 19:35                   ` Rodrigo Rosenfeld Rosas
2006-02-08 19:07                 ` Rodrigo Rosenfeld Rosas
2006-02-08 21:28           ` Rodrigo Rosenfeld Rosas
2006-02-09  8:53             ` Jan Kiszka
2006-02-09 16:04               ` Rodrigo Rosenfeld Rosas
2006-02-09 16:53                 ` Jan Kiszka
2006-02-09 17:58                   ` Rodrigo Rosenfeld Rosas

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=43E4A197.6030801@domain.hid \
    --to=lbocseg@domain.hid \
    --cc=jan.kiszka@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.